Help with a D6 site.

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
parogne's picture

I was approached by someone who has a D6 site and it started throwing errors to the front page. I am unsure of the state of it and my first thought is to make sure its all updated as much as possible. The problem is they are unsure of the Admin login. Is there a way to change the admin password? I do have direct access to the code base and the database. Thank you for your assistance.

Comments

hacking the admin login

joleenshook's picture

Well, since you have access to the database, you can do this pretty easily if you can find out the password of any other user in the system. Just go into the database with phpmyadmin and copy the hashed password(column pass) that you know from that user's record to the admin user's record. Log in as admin using that password, and you're good to go.