FAQ/Reset admin password
From TYPO3Wiki
<< Back to FAQ
Contents |
Reset admin password
If you lost your admin username and/or password for the backend, you can reset it this way:
Using the Install tool
- Open the Install tool by going to [your_site]/install/
This brings up the install option. (The installer tool password can also be reset, see below). - Open the 'Database Analyzer' and towards the bottom you will see 'Create Admin User'. This lets you create a new admin user (though if you were using 'Admin' you will have to choose something else for the user name as 'Admin' already exists).
- Once you created the new admin user, you should be able to log in with the new user name and password you entered. You can then reset the password of the user of which you actually forgot the password.
Editing the database directly
You can also edit the database directly:
UPDATE be_users SET password=md5('your_new_password') WHERE username = 'admin';
This will reset the password for 'admin' to 'your_new_password'
Reset Install tool password
If you have forgotten the Install tool password, you can reset it by modifying [your_site]/typo3conf/localconf.php on the Typo3 server. Replace the $TYPO3_CONF_VARS['BE']['installToolPassword'] row with the following:
$TYPO3_CONF_VARS['BE']['installToolPassword'] = 'bacb98acf97e0b6112b1d1b650b84971';
This will give you the default password ("joh316") back again.