Problem log-in

Hi all dhis2,
Can you help me what is problem login page, i can’t log in with admin account. What should i do?

image

Hi

That error message just means wrong password… bad credentials

image

···

On Tue, Sep 1, 2015 at 2:51 PM, channara rin rin.channara@gmail.com wrote:

Hi all dhis2,
Can you help me what is problem login page, i can’t log in with admin account. What should i do?


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


Morten

What has changed since the last time? Do you have another account with superuSer privileges?

image

···

On Sep 1, 2015 9:59 AM, “channara rin” rin.channara@gmail.com wrote:

Hi all dhis2,
Can you help me what is problem login page, i can’t log in with admin account. What should i do?

Inline image 1


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

Hi Morten,
I go to database schema and change value of attribute: “Password” to value:“$2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2”=“district”

image

···

On Tue, Sep 1, 2015 at 2:55 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi

That error message just means wrong password… bad credentials


Morten

On Tue, Sep 1, 2015 at 2:51 PM, channara rin rin.channara@gmail.com wrote:

Hi all dhis2,
Can you help me what is problem login page, i can’t log in with admin account. What should i do?


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

But it still display log-in page.

image

···

On Tue, Sep 1, 2015 at 3:13 PM, channara rin rin.channara@gmail.com wrote:

Hi Morten,
I go to database schema and change value of attribute: “Password” to value:“$2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2”=“district”

On Tue, Sep 1, 2015 at 2:55 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi

That error message just means wrong password… bad credentials


Morten

On Tue, Sep 1, 2015 at 2:51 PM, channara rin rin.channara@gmail.com wrote:

Hi all dhis2,
Can you help me what is problem login page, i can’t log in with admin account. What should i do?


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

No! i don’t have any account more.

image

···

On Tue, Sep 1, 2015 at 3:13 PM, channara rin rin.channara@gmail.com wrote:

But it still display log-in page.

On Tue, Sep 1, 2015 at 3:13 PM, channara rin rin.channara@gmail.com wrote:

Hi Morten,
I go to database schema and change value of attribute: “Password” to value:“$2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2”=“district”

On Tue, Sep 1, 2015 at 2:55 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi

That error message just means wrong password… bad credentials


Morten

On Tue, Sep 1, 2015 at 2:51 PM, channara rin rin.channara@gmail.com wrote:

Hi all dhis2,
Can you help me what is problem login page, i can’t log in with admin account. What should i do?


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

Hi Channara,

do this to set password to district for user admin:

update users set password=‘$2a$10$wjLPViry3bkYEcjwGRqnYO1bT2Kl.ZY0kO.fwFDfMX53hitfx5.3C’ where username=‘admin’;

Then restart tomcat to make sure the application cache is cleared.

Then log in with admin/district.

regards,

Lars

image

···

On Tue, Sep 1, 2015 at 10:17 AM, channara rin rin.channara@gmail.com wrote:

No! i don’t have any account more.


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

On Tue, Sep 1, 2015 at 3:13 PM, channara rin rin.channara@gmail.com wrote:

But it still display log-in page.

On Tue, Sep 1, 2015 at 3:13 PM, channara rin rin.channara@gmail.com wrote:

Hi Morten,
I go to database schema and change value of attribute: “Password” to value:“$2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2”=“district”

On Tue, Sep 1, 2015 at 2:55 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi

That error message just means wrong password… bad credentials


Morten

On Tue, Sep 1, 2015 at 2:51 PM, channara rin rin.channara@gmail.com wrote:

Hi all dhis2,
Can you help me what is problem login page, i can’t log in with admin account. What should i do?


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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org

Yes, now it work fine

thank Lars, Morten

image

···

On Tue, Sep 1, 2015 at 3:23 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Channara,

do this to set password to district for user admin:

update users set password=‘$2a$10$wjLPViry3bkYEcjwGRqnYO1bT2Kl.ZY0kO.fwFDfMX53hitfx5.3C’ where username=‘admin’;

Then restart tomcat to make sure the application cache is cleared.

Then log in with admin/district.

regards,

Lars

On Tue, Sep 1, 2015 at 10:17 AM, channara rin rin.channara@gmail.com wrote:

No! i don’t have any account more.


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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org

On Tue, Sep 1, 2015 at 3:13 PM, channara rin rin.channara@gmail.com wrote:

But it still display log-in page.

On Tue, Sep 1, 2015 at 3:13 PM, channara rin rin.channara@gmail.com wrote:

Hi Morten,
I go to database schema and change value of attribute: “Password” to value:“$2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2”=“district”

On Tue, Sep 1, 2015 at 2:55 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi

That error message just means wrong password… bad credentials


Morten

On Tue, Sep 1, 2015 at 2:51 PM, channara rin rin.channara@gmail.com wrote:

Hi all dhis2,
Can you help me what is problem login page, i can’t log in with admin account. What should i do?


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

Excellent. However, why is this different from the password discussed in Gerald’s thread with Alan and Jason?

$2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2

$2a$10$wjLPViry3bkYEcjwGRqnYO1bT2Kl.ZY0kO.fwFDfMX53hitfx5.3C

Knut

image

···

On Tue, Sep 1, 2015 at 11:00 AM, channara rin rin.channara@gmail.com wrote:

Yes, now it work fine

thank Lars, Morten


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

On Tue, Sep 1, 2015 at 3:23 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Channara,

do this to set password to district for user admin:

update users set password=‘$2a$10$wjLPViry3bkYEcjwGRqnYO1bT2Kl.ZY0kO.fwFDfMX53hitfx5.3C’ where username=‘admin’;

Then restart tomcat to make sure the application cache is cleared.

Then log in with admin/district.

regards,

Lars

On Tue, Sep 1, 2015 at 10:17 AM, channara rin rin.channara@gmail.com wrote:

No! i don’t have any account more.


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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org

On Tue, Sep 1, 2015 at 3:13 PM, channara rin rin.channara@gmail.com wrote:

But it still display log-in page.

On Tue, Sep 1, 2015 at 3:13 PM, channara rin rin.channara@gmail.com wrote:

Hi Morten,
I go to database schema and change value of attribute: “Password” to value:“$2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2”=“district”

On Tue, Sep 1, 2015 at 2:55 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi

That error message just means wrong password… bad credentials


Morten

On Tue, Sep 1, 2015 at 2:51 PM, channara rin rin.channara@gmail.com wrote:

Hi all dhis2,
Can you help me what is problem login page, i can’t log in with admin account. What should i do?


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

Norway: +4791880522

Skype: knutstar

http://dhis2.org

They should be different. Bcrypt (or any sane pw hashing scheme for that matter) uses a random salt per run (which is embedded in the resulting string).

image

···

2015-09-01 11:06 GMT+02:00 Knut Staring knutst@gmail.com:

Excellent. However, why is this different from the password discussed in Gerald’s thread with Alan and Jason?

$2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2

$2a$10$wjLPViry3bkYEcjwGRqnYO1bT2Kl.ZY0kO.fwFDfMX53hitfx5.3C

Knut


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

On Tue, Sep 1, 2015 at 11:00 AM, channara rin rin.channara@gmail.com wrote:

Yes, now it work fine

thank Lars, Morten


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

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Tue, Sep 1, 2015 at 3:23 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Channara,

do this to set password to district for user admin:

update users set password=‘$2a$10$wjLPViry3bkYEcjwGRqnYO1bT2Kl.ZY0kO.fwFDfMX53hitfx5.3C’ where username=‘admin’;

Then restart tomcat to make sure the application cache is cleared.

Then log in with admin/district.

regards,

Lars

On Tue, Sep 1, 2015 at 10:17 AM, channara rin rin.channara@gmail.com wrote:

No! i don’t have any account more.


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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org

On Tue, Sep 1, 2015 at 3:13 PM, channara rin rin.channara@gmail.com wrote:

But it still display log-in page.

On Tue, Sep 1, 2015 at 3:13 PM, channara rin rin.channara@gmail.com wrote:

Hi Morten,
I go to database schema and change value of attribute: “Password” to value:“$2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2”=“district”

On Tue, Sep 1, 2015 at 2:55 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi

That error message just means wrong password… bad credentials


Morten

On Tue, Sep 1, 2015 at 2:51 PM, channara rin rin.channara@gmail.com wrote:

Hi all dhis2,
Can you help me what is problem login page, i can’t log in with admin account. What should i do?


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