Accessing Admin password

Dear all,

Is there a way I can access my admin password? Probably in the postgress database or any where else if I have forgotten it and cannot log into my instance? Please support

Timothy

Try this:

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.

···

On Tue, Feb 14, 2017 at 11:30 AM, Timothy Kiyemba tkiyemba@gmail.com wrote:

Dear all,

Is there a way I can access my admin password? Probably in the postgress database or any where else if I have forgotten it and cannot log into my instance? Please support

Timothy


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

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

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

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

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Thanks Knut,

It worked perfectly.

Timothy

···

On Tue, Feb 14, 2017 at 1:37 PM, Knut Staring knutst@gmail.com wrote:

Try this:

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.

On Tue, Feb 14, 2017 at 11:30 AM, Timothy Kiyemba tkiyemba@gmail.com wrote:

Dear all,

Is there a way I can access my admin password? Probably in the postgress database or any where else if I have forgotten it and cannot log into my instance? Please support

Timothy


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

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

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

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

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org