Home / eZ / HowTo / Tips / Reset admin password

Reset admin password

Best way to reset admin password.

Temporarily disable the validation check on the password. Anyone may login on any account by using any random password.

1) Edit the file 'kernel/classes/datatypes/ezuser/ezuser.php'
2) Search for the function 'authenticateHash' (Line1083on eZ publish,3.7)
3) Add this first line:
return true; // no matter what, consider the password valid

Then login as 'admin', change your password, write it down on a postit and put it on your monitor.

Security experts frown on that ;~)

http://ez.no/community/forum/setup_design/alter_password_file

Animated GIF eZ Logo

No need to dream up layouts and page views, just insert your "stuff".

Roll Your Own Social Network

News networks, and personal sized social networking sites are simple with eZ.