password lost

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
idcarlos

password lost

Post by idcarlos »

Hi.

I have forgot my admin password  ??? but I have full acessto to the database. I have try to put a null value in the admin password, but not work.

¿Any idea to "reset" my password?

Un saludo
Carlos Garces
cyberman

Re: password lost

Post by cyberman »

The password is encrypted  :).

Hmm, I think you should install cmsms once again so you have the chance to set the admin password once again. In step 3 you should deselect the entrys "Create Tables" and "Install sample content and templates". Then it should work  ;) ...

But make sure you have made a sql dump before for security reasons !!
idcarlos

Re: password lost

Post by idcarlos »

I have made a cleand instalation in localhost and updoaded the cms_uses table.
It don't work ¿why?
cyberman

Re: password lost

Post by cyberman »

idcarlos wrote: I have made a cleand instalation in localhost and updoaded the cms_uses table.
It don't work ¿why?
This cannot work. If you've made a clean installation you have the chance to set the admin password so an upload of cms_users table is not needed.
cyberman wrote: you should install cmsms once again so you have the chance to set the admin password once again. In step 3 you should deselect the entrys "Create Tables" and "Install sample content and templates".
Have you followed my instructions accurately ?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: password lost

Post by Ted »

For future reference

Code: Select all

UPDATE cms_users SET password = '21232f297a57a5a743894a0e4a801fc3' WHERE user_id = 1;
will reset the password to 'admin'.
idcarlos

Re: password lost

Post by idcarlos »

Thanks, it works
jelle

Re: password lost

Post by jelle »

md5('plain password') work too instead of the long encrypted line? At least that is how I do it in my new debian package and both postgres and Mysql swallow it.
lennon
Forum Members
Forum Members
Posts: 88
Joined: Fri Jan 13, 2006 12:19 pm

Re: password lost

Post by lennon »

UPDATE cms_users SET password = '21232f297a57a5a743894a0e4a801fc3' WHERE user_id = 1;

Having the same issue and the re installation isnt working.

Where do i put this code...........................? Havent a clue...

thanks
jelle

Re: password lost

Post by jelle »

it is a sql query, so you can enter it in a sql prompt on the commandline, or at a mysql admin program over the web. (phpmyadmin or the likes)

Yes, you will have to have some knowledge, so in some cases reinstalling might be a quicker option.
mustis

Re: password lost

Post by mustis »

what was the standard password?
cyberman

Re: password lost

Post by cyberman »

There's no default password - you have to set it in install procedure.
sebgonz
New Member
New Member
Posts: 3
Joined: Fri Apr 11, 2008 7:28 pm

Re: password lost

Post by sebgonz »

Thanks a lot. This saved my butt big time. Stupid me... I can't believe I forgot to email myself my password. :)
kurieuo
Forum Members
Forum Members
Posts: 11
Joined: Tue Jul 03, 2007 4:37 am

Re: password lost

Post by kurieuo »

Any chance for there to be a 'forgot password' option at the CMS login that auto resets the password for you?

Handy for other CMS users (besides Admin) who forget password. Saves us having to reset for them.

Cheers
cyberman

Re: password lost

Post by cyberman »

kurieuo wrote: Any chance for there to be a 'forgot password' option at the CMS login that auto resets the password for you?
Good idea. Perhaps you should add a feature request  ;)

http://dev.cmsmadesimple.org/tracker/?a ... unc=browse
User avatar
Franck
Dev Team Member
Dev Team Member
Posts: 259
Joined: Tue Jun 12, 2007 1:29 pm
Location: France

Re: password lost

Post by Franck »

Just submitted it at feature requests :)
Locked

Return to “CMSMS Core”