How do I access the site as none of my passwords work anymore?

How do I access the site as none of my passwords work anymore?

Thursday 27 March 2003 5:40:40 am - 2 replies

Author Message

Bård Farstad

Thursday 27 March 2003 5:50:30 am

To generate a new password you need to do the following:
Create a new md5 hash. This can be done with the command (linux):
echo "mypassword" | md5sum
Which will print the md5sum:
d84c7934a7a786d26da3d34d5f7c6c86

You then need to reset the values in the SQL database for your user.
update ezuser
set
password_hash_type='1' , password_hash='d84c7934a7a786d26da3d34d5f7c6c86'
where
contentobject_id= 10;

Replace 10 with the id of your user.

PS: take backup of your database before you start.

--bård

Documentation: http://ez.no/doc

Sergiy Pushchin

Friday 28 March 2003 2:31:52 am

If you aren't sick about security you can use more simple way to update password
update ezuser
set
password_hash_type='5' , password_hash='your _plain_text_password'
where
contentobject_id= 10;
Replace 10 with the id of your user.
Password will be changed to md5_hash after your first login automatically.

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.