Why is admin/district no longer available for an empty DB??

Ok, I also tried trunk with an empty db now, and like Easy says, all you get is a user called anonymous. I have no idea what the password would be, it is listed as “anonymous” in the encrypted field of the db

This seems like a newly introduced bug?

···

Knut

On Mon, Sep 16, 2013 at 3:33 PM, easy lin_xd@126.com wrote:

Hi,sir,

I can’t login into system after startup. using trunk version, empty DB.

anter enter password, no responese, url changed into:

http://localhost:8080/dhis/dhis-web-commons/security/login.action?failed=true


此致

easy

莫愁前路无知己,天下谁人不识君。


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

Hi Knut,
I have added anonymous user recently. The system will create anonymous user whenever tomcat starts. I am not sure whether this may cause the login fail with admin account. I will remove it, and let’s see if this bug still exist

Regards,

Lai

···

On Wed, Sep 18, 2013 at 11:09 AM, Knut Staring knutst@gmail.com wrote:

Ok, I also tried trunk with an empty db now, and like Easy says, all you get is a user called anonymous. I have no idea what the password would be, it is listed as “anonymous” in the encrypted field of the db

This seems like a newly introduced bug?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Lai
Dhis Mobile

+84944485878

Knut

On Mon, Sep 16, 2013 at 3:33 PM, easy lin_xd@126.com wrote:

Hi,sir,

I can’t login into system after startup. using trunk version, empty DB.

anter enter password, no responese, url changed into:

http://localhost:8080/dhis/dhis-web-commons/security/login.action?failed=true


此致

easy

莫愁前路无知己,天下谁人不识君。


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

Hi Lai, it should be ok to add it, but it seems we have lost the admin user. Also, you would need to encrypt the password, and not store it as plain text in the db, that does not work for logging in.

k

···

On Wed, Sep 18, 2013 at 11:14 AM, Nguyen Kim Lai lai.hispvietnam@gmail.com wrote:

Hi Knut,
I have added anonymous user recently. The system will create anonymous user whenever tomcat starts. I am not sure whether this may cause the login fail with admin account. I will remove it, and let’s see if this bug still exist

Regards,

Lai


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

On Wed, Sep 18, 2013 at 11:09 AM, Knut Staring knutst@gmail.com wrote:

Ok, I also tried trunk with an empty db now, and like Easy says, all you get is a user called anonymous. I have no idea what the password would be, it is listed as “anonymous” in the encrypted field of the db

This seems like a newly introduced bug?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Lai
Dhis Mobile

+84944485878

Knut

On Mon, Sep 16, 2013 at 3:33 PM, easy lin_xd@126.com wrote:

Hi,sir,

I can’t login into system after startup. using trunk version, empty DB.

anter enter password, no responese, url changed into:

http://localhost:8080/dhis/dhis-web-commons/security/login.action?failed=true


此致

easy

莫愁前路无知己,天下谁人不识君。


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

HI Knut,

Actually I don’t want the anonymous account to be logged in. The anonymous account is used for only one purpose: the subject of the SMS from anonymous user to DHIS2 system, this case happens when a person who is not DHIS2 user, and he/she wants to registered as a DHIS2 user, the he/she will send an SMS using SMS command. For example the content of SMS when we read out would be: “anonymous - Hi DHIS2 admin, please register me as a DHIS2 user, I’m from ABC village, work for XYZ department”.

By the way, let me remove it, and we will see it is because of it or not.

Regards,

···

On Wed, Sep 18, 2013 at 11:17 AM, Knut Staring knutst@gmail.com wrote:

k

Hi Lai, it should be ok to add it, but it seems we have lost the admin user. Also, you would need to encrypt the password, and not store it as plain text in the db, that does not work for logging in.


Lai
Dhis Mobile

+84944485878

On Wed, Sep 18, 2013 at 11:14 AM, Nguyen Kim Lai lai.hispvietnam@gmail.com wrote:

Hi Knut,
I have added anonymous user recently. The system will create anonymous user whenever tomcat starts. I am not sure whether this may cause the login fail with admin account. I will remove it, and let’s see if this bug still exist

Regards,

Lai


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

On Wed, Sep 18, 2013 at 11:09 AM, Knut Staring knutst@gmail.com wrote:

Ok, I also tried trunk with an empty db now, and like Easy says, all you get is a user called anonymous. I have no idea what the password would be, it is listed as “anonymous” in the encrypted field of the db

This seems like a newly introduced bug?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Lai
Dhis Mobile

+84944485878

Knut

On Mon, Sep 16, 2013 at 3:33 PM, easy lin_xd@126.com wrote:

Hi,sir,

I can’t login into system after startup. using trunk version, empty DB.

anter enter password, no responese, url changed into:

http://localhost:8080/dhis/dhis-web-commons/security/login.action?failed=true


此致

easy

莫愁前路无知己,天下谁人不识君。


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

Hi Knut and Sam,
I have just removed the anonymous account. Could you please test it again on trunk version?

Regards,

···

On Wed, Sep 18, 2013 at 11:26 AM, Nguyen Kim Lai lai.hispvietnam@gmail.com wrote:

HI Knut,

Actually I don’t want the anonymous account to be logged in. The anonymous account is used for only one purpose: the subject of the SMS from anonymous user to DHIS2 system, this case happens when a person who is not DHIS2 user, and he/she wants to registered as a DHIS2 user, the he/she will send an SMS using SMS command. For example the content of SMS when we read out would be: “anonymous - Hi DHIS2 admin, please register me as a DHIS2 user, I’m from ABC village, work for XYZ department”.

By the way, let me remove it, and we will see it is because of it or not.

Regards,


Lai
Dhis Mobile

+84944485878

On Wed, Sep 18, 2013 at 11:17 AM, Knut Staring knutst@gmail.com wrote:

k

Hi Lai, it should be ok to add it, but it seems we have lost the admin user. Also, you would need to encrypt the password, and not store it as plain text in the db, that does not work for logging in.


Lai
Dhis Mobile

+84944485878

On Wed, Sep 18, 2013 at 11:14 AM, Nguyen Kim Lai lai.hispvietnam@gmail.com wrote:

Hi Knut,
I have added anonymous user recently. The system will create anonymous user whenever tomcat starts. I am not sure whether this may cause the login fail with admin account. I will remove it, and let’s see if this bug still exist

Regards,

Lai


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

On Wed, Sep 18, 2013 at 11:09 AM, Knut Staring knutst@gmail.com wrote:

Ok, I also tried trunk with an empty db now, and like Easy says, all you get is a user called anonymous. I have no idea what the password would be, it is listed as “anonymous” in the encrypted field of the db

This seems like a newly introduced bug?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Lai
Dhis Mobile

+84944485878

Knut

On Mon, Sep 16, 2013 at 3:33 PM, easy lin_xd@126.com wrote:

Hi,sir,

I can’t login into system after startup. using trunk version, empty DB.

anter enter password, no responese, url changed into:

http://localhost:8080/dhis/dhis-web-commons/security/login.action?failed=true


此致

easy

莫愁前路无知己,天下谁人不识君。


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

Thanks Lai,

I will test and confirm.

···

Sam

On Wed, Sep 18, 2013 at 9:12 AM, Nguyen Kim Lai lai.hispvietnam@gmail.com wrote:

Hi Knut and Sam,
I have just removed the anonymous account. Could you please test it again on trunk version?

Regards,

On Wed, Sep 18, 2013 at 11:26 AM, Nguyen Kim Lai lai.hispvietnam@gmail.com wrote:

HI Knut,

Actually I don’t want the anonymous account to be logged in. The anonymous account is used for only one purpose: the subject of the SMS from anonymous user to DHIS2 system, this case happens when a person who is not DHIS2 user, and he/she wants to registered as a DHIS2 user, the he/she will send an SMS using SMS command. For example the content of SMS when we read out would be: “anonymous - Hi DHIS2 admin, please register me as a DHIS2 user, I’m from ABC village, work for XYZ department”.

By the way, let me remove it, and we will see it is because of it or not.

Regards,

Lai
Dhis Mobile

+84944485878

On Wed, Sep 18, 2013 at 11:17 AM, Knut Staring knutst@gmail.com wrote:

k

Hi Lai, it should be ok to add it, but it seems we have lost the admin user. Also, you would need to encrypt the password, and not store it as plain text in the db, that does not work for logging in.

Lai
Dhis Mobile

+84944485878

On Wed, Sep 18, 2013 at 11:14 AM, Nguyen Kim Lai lai.hispvietnam@gmail.com wrote:

Hi Knut,
I have added anonymous user recently. The system will create anonymous user whenever tomcat starts. I am not sure whether this may cause the login fail with admin account. I will remove it, and let’s see if this bug still exist

Regards,

Lai


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

On Wed, Sep 18, 2013 at 11:09 AM, Knut Staring knutst@gmail.com wrote:

Ok, I also tried trunk with an empty db now, and like Easy says, all you get is a user called anonymous. I have no idea what the password would be, it is listed as “anonymous” in the encrypted field of the db

This seems like a newly introduced bug?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Lai
Dhis Mobile

+84944485878

Knut

On Mon, Sep 16, 2013 at 3:33 PM, easy lin_xd@126.com wrote:

Hi,sir,

I can’t login into system after startup. using trunk version, empty DB.

anter enter password, no responese, url changed into:

http://localhost:8080/dhis/dhis-web-commons/security/login.action?failed=true


此致

easy

莫愁前路无知己,天下谁人不识君。


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org