Forums | Mahara Community

Support /
Admin password


anonymous profile picture
Deleted user
Posts: 1

18 February 2009, 2:12 PM

I forgot the admin password for my mahara installation. Is there a way I can reset / recover it ?

Thanks!

anonymous profile picture
Deleted user
Posts: 1643

18 February 2009, 9:40 PM

Hi - the "forgot password" feature should work equally well for admins as for any other user. You can access it through a link in the login box.

Alternatively, you can set the password in the database like so:

UPDATE usr SET password = 'changeme123', salt = NULL WHERE username = 'admin';

anonymous profile picture
Deleted user
Posts: 10

13 September 2011, 4:08 PM

I didn't forget the admin password but it just stopped working. Resetting it with the SQL command didn't help. Now my only admin account is unusable. Any ideas about what I should do? What's the SQL required to create a new admin account?

Thanks.

anonymous profile picture
Deleted user
Posts: 808

13 September 2011, 6:08 PM

Alistair, if you have version 1.4, it didn't work because we removed plaintext passwords from the db.  To reset it in SQL you'd have to hash the password.

The easiest way, as you suggest, is to turn another account into an admin account:

UPDATE usr SET admin = 1 WHERE username = 'alistair';

anonymous profile picture
Deleted user
Posts: 10

13 September 2011, 10:41 PM

Thanks Richard. Problem solved!

anonymous profile picture
Deleted user
Posts: 1

20 June 2012, 7:01 AM

Hello

i have forget my admin password, how can i reset or set a new via mySQL database?

(there is no other user in system just me with the username admin)

Thanks Roli

(using Mahara 1.5)

anonymous profile picture
Deleted user
Posts: 808

20 June 2012, 5:47 PM

Hi Roli,

You can use the "Lost username/password" link to reset your password.  If you can't do that for some reason (email isn't set up, or your admin has an invalid address), have a look at this thread:

https://mahara.org/interaction/forum/topic.php?id=4594

anonymous profile picture
Deleted user
Posts: 2

15 September 2014, 10:54 PM

Hiya

 

I have finally managed to get into Mahara using the default Admin password, at which point I am prompted to enter a new password. I have done this, but Mahara is ignoring my new password and continues to use the default "mahara" one. This then just takes me back into the enter new password loop?

 

Can anyone help?

 

Getting frustrated now with Mahara. 6 hours and I can not even log in successfully.

 

Rich

 

8 results