← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 1526242] [NEW] changing the password of admin user to district

 

Hello Mohammed,

This is NOT a bug. Please rather send questions to DHIS 2 developers <
dhis2-devs@xxxxxxxxxxxxxxxxxxx>.

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,
Knut

On Tue, Dec 15, 2015 at 11:00 AM, Mohamed Bangura <mbangs87@xxxxxxxxx>
wrote:

> Public bug reported:
>
> Hello all,
>
> Can someone please help me with the sql query to change the password of
> the admin user to district.I have an old one that i have been using but
> when i used it now,it is not.Can someone please help me with the updated
> one.The previous one that i was using is shown below.
>
> UPDATE users
> set password = '48e8f1207baef1ef7fe478a57d19f2e5'
> where username = 'admin';
>
> ** Affects: dhis2
>      Importance: Undecided
>          Status: New
>
> --
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1526242
>
> Title:
>   changing the password of admin user to district
>
> Status in DHIS:
>   New
>
> Bug description:
>   Hello all,
>
>   Can someone please help me with the sql query to change the password
>   of the admin user to district.I have an old one that i have been using
>   but when i used it now,it is not.Can someone please help me with the
>   updated one.The previous one that i was using is shown below.
>
>   UPDATE users
>   set password = '48e8f1207baef1ef7fe478a57d19f2e5'
>   where username = 'admin';
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1526242/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> 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

References