Resetting the admin password

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
hikenboots
Member II

Resetting the admin password

Is it possible to reset the admin password, say from the console, if it were to be forgotten, lost, etc?  If so, how is it done?  Just planning for the "what ifs".

Thanks
1 Reply
andy
Active Member

Re: Resetting the admin password

Hi

You could set another user with full admin rights, if you know their password. See config\alfresco\authority-services-context.xml. They should then be able to reset any password.
If you do not know any password - you can configure  authentication to allow regardless of password. See the authentication configuration docs.
You could then login in as admin, no password, fix it up and then put all the config back.

You could fix up the MD4 hash held in the database for the admin user although you would have to unravel some hibernate stuff.

Regards

Andy