There's a Drupal6 website I need to work on for a cliente. However, client does not have access to the admin. They don't remember their user/password.

What's the best way for me to retrieve the admin access besides the "remember password" feature?

Thanks a lot!


2 Answers 2


You can reset it directly in the db, if you have access to it?

UPDATE users SET PASS = md5('new_pass') WHERE uid = 1


You can use drush to do so. Execute drush upwd admin --password=YOURNEWPASSWORD where admin is the username.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.