Changing the admin password

Permalink 2 users found helpful
can I change the admin password in the database table? I am able to locate it but it's a 32 character code. I tried to login with the admin login with no luck and tried to do the "forgot password" route but get nothing in my email to change it. Any help please?

pakigreenl
 
Christy91 replied on at Permalink Reply
same problem for me, I spent my day looking for answers
without the solution! I'll have to reinstall C5!
it is a very serious bug!!
pakigreenl replied on at Permalink Reply
pakigreenl
I actually figured out a fix. first, I did the password reset with another account other than the admin. had the link sent to the email to reset the pasword. so now i knew the pw for that user (which was me not as admin with a different email address) then, i went into the database via phpmyadmin. once in I went to the users table where it displays the users and the info. the pwords are encrypted, but i copied the encrypted pword from the user i just changed and copied it to the admin. I saved it, went to the site and logged in. Wala! It Worked. I hope this helps anyone else that may run into this problem.
s2d replied on at Permalink Reply
s2d
That is pretty clever! But I'm curious... did your admin account have the right email address?
pakigreenl replied on at Permalink Reply
pakigreenl
it did but i believe that because it is the super user it will not reset the way the other users do.
watzlav replied on at Permalink Reply
I found a way to do it without having to send an eMail, which is nice, if you are running a test-setup on your local machine without a mail-server.

I found it here:
http://nabtron.com/how-to-retrieve-concrete5-admin-password-via-php...
--

This is how:

Take the salt-value from /config/site.php and run this PHP-code:

echo md5('YOUR NEW PASSWORD' . ':' . 'THE SALT VALUE FROM site.php');


input the result DIRECTLY into the database (with PHPmyAdmin or Sequel Pro etc.). It's already encoded, don't md5 it again...
citytech2 replied on at Permalink Reply
citytech2
Thanks. It worked for me. It helps me a lot.
AccountDisabled replied on at Permalink Reply
If you don't mind a new admin account being created then Concrete5 Instant Admin will also get you back in business.http://forestmist.org/2012/07/concrete5-instant-admin/...

All you need is FTP. No coding necessary. :D

Cheers!
LittleSnowman replied on at Permalink Reply
Thank you, it worked for me to.
WebHosting replied on at Permalink Reply
Hi, we have compiled a guide that explains all the ways you can reset your Concrete5 admin. See :
http://squirrelhosting.co.uk/hosting-blog/hosting-blog-info.php?id=...

Hope this helps others in the future.