How to recover Password?

General project discussion. NOT for help questions.
Post Reply
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: How to recover Password?

Post by Rolf »

StijnClaessen wrote: How can you recover the password, is'nt there a 'forgot password' feature???? ???
This is one of the most essential features of a cms!!??!! :o
Yes, there is!
I already tried this in the database, to reset the password
UPDATE cms_users SET password = '21232f297a57a5a743894a0e4a801fc3' WHERE user_id = 1;

But what is the next to do??

I still can't login to my admin.
http://wiki.cmsmadesimple.org/index.php ... d_password
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: How to recover Password?

Post by Wishbone »

It looks like that is exactly what he did.

Did you get an error message when running that command? Did you look in the database to confirm that it updated? Are you getting the admin username correct?

What version are you running? The recover password feature was implemented in 1.6
Peciura

Re: How to recover Password?

Post by Peciura »

How can you recover the password, is'nt there a 'forgot password' feature?Huh Huh
This is one of the most essential features of a cms!!??!! Shocked
Password can be overwritten only it can not be recovered. Mathematically it is not possible during reasonable time span. Thats the way security works.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: How to recover Password?

Post by Wishbone »

Peciura wrote:Mathematically it is not possible during reasonable time span. Thats the way security works.
It's possible to figure out what a password is if the user is using a non-secure password (dictionary words). There are many md5 dictionary websites out there. I always run a check with my site/forum admins and see if I can crack their password. If I can, I send them an email and have them change it.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: How to recover Password?

Post by Rolf »

StijnClaessen wrote: I already tried this in the database, to reset the password
UPDATE cms_users SET password = '21232f297a57a5a743894a0e4a801fc3' WHERE user_id = 1;
But what is the next to do??
Your admin password is not reset, but is changed to 'admin'
Did you try this one, or...
Last edited by reneh on Mon Mar 22, 2010 6:38 pm, edited 1 time in total.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: How to recover Password?

Post by Dr.CSS »

They are just trying to get a rise out of us...
replytomk3

Re: How to recover Password?

Post by replytomk3 »

Dr.CSS wrote: They are just trying to get a rise out of us...
Rise of what, blood pressure?
ridelikeaturtle
Forum Members
Forum Members
Posts: 103
Joined: Thu May 06, 2010 9:22 pm

Re: How to recover Password?

Post by ridelikeaturtle »

FYI, I've tried this in the past (resetting the password via the database) and the login page will still not allow me to log in.

IIRC I end up having to reinstall cmsms.  It's very annoying, but not cmsms's fault. 
Peciura

Re: How to recover Password?

Post by Peciura »

ridelikeaturtle: obviously you did smth wrong.
When i receive site backup i simply reset password of admin, by copying password of known user from the other db. It takes 1min with phpMyadmin.
thecrush
New Member
New Member
Posts: 5
Joined: Thu Feb 18, 2010 2:49 am

Re: How to recover Password?

Post by thecrush »

I tried this as well and have verified on my cms_users table that the password for admin has been changed to 21232f297a57a5a743894a0e4a801fc3

Still, when I login using the password 'admin', nothing happens. Any other solutions?
Post Reply

Return to “General Discussion”