Page 1 of 1

Re: HELP! Lost username & password!

Posted: Wed Jan 22, 2014 6:30 pm
by JohnnyB
Hi,
If you need commercial help to do this, feel free to send me a PM.
But, there is a lot of documentation in the forums and also here to help: http://docs.cmsmadesimple.org/troublesh ... d-recovery

You can use PHPMyAdmin to access your database and then look at the cms_users table to find your admin username. The password is encrypted but with the version you are running, you can easily paste the following into the password field of the database table:
21232f297a57a5a743894a0e4a801fc3
which resets the password to 'admin'

Re: HELP! Lost username & password!

Posted: Thu Jan 23, 2014 3:38 am
by Wishbone
If passwords are salted (I always uncheck the box), the above procedure won't work...

I have fixed a forgotten salted password by hacking the code to allow a blank password for one particular username, was able to log in, change the password, then un-hack the code.

Re: HELP! Lost username & password!

Posted: Thu Jan 23, 2014 2:17 pm
by JohnnyB
1.8.1
Did we have salted admin passwords in 1.8.x? I can't remember now...

Re: HELP! Lost username & password!

Posted: Thu Jan 23, 2014 2:21 pm
by Wishbone
JohnnyB wrote:
1.8.1
Did we have salted admin passwords in 1.8.x? I can't remember now...
Oh.. never mind.. That was a 1.10 thing.

Re: HELP! Lost username & password!

Posted: Thu Jan 23, 2014 2:30 pm
by velden
If cmsms is setup well (CMS Mailer particularly) and you have found the username (from database) you could try the 'Forgot your password' link on login screen.

Optionally: email address can be set in database too.