← Back to team overview

dhis2-users team mailing list archive

Re: Accessing Admin password

 

Thanks Knut,

It worked perfectly.

Timothy

On Tue, Feb 14, 2017 at 1:37 PM, Knut Staring <knutst@xxxxxxxxx> 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@xxxxxxxxx>
> 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@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522 <+47%20918%2080%20522>
> Skype: knutstar
> http://dhis2.org
>

References