Learn how to reset passwords for WordPress, Drupal, and the Pantheon Dashboard.
Pantheon Dashboard Login
If you need to reset your Pantheon Dashboard user password,logout and visit this page and follow the instructions.
Drupal Site User Login
If you need to reset your Drupal site user login, append
/user/password to your site's URL and follow the directions to reset your password. For example, to reset the password for the development environment of mysite, you would visit the following example link:
In the password reset form, enter either the username or email address you used to sign up for the administrative account, and you will receive an email with a link. When you click the link in your email, you will be logged in to your site and brought to your user profile edit page, where you can reset your password. You need to enter your new password at this point. Don’t leave the page without setting a new password, or else you will have to go through this process again the next time you want to login to your Drupal site.
Please keep in mind that your site password is stored in a database, so whatever you set in the Development environment may be different than Test or live, unless you keep the database content synced between the environments using the tools in Database / Files tab of the Pantheon Dashboard or during deployment.
If you still can’t get access to your site using password reset, for example if you don't have access to the corresponding email address for the account, you can still generate a one-time password reset link by using the following Terminus command for generating one-time login links:
$ terminus drush <site>.<env> -- user-login
$ terminus drush <site>.<env> -- user-password user_name --password='Astr0nGP455w0rD'
WordPress User Login
If your site is powered by WordPress you have two options. The first is to request a password reset from the log in form and the second is to update via the Terminus CLI.
- From the main login form, click Lost Your Password?.
- Enter your username or password, and click Get New Password.
You will receive an email that contains a link you can use one time to reset your password. When you click the link, enter your new password twice. It will also show you the strength of your new password; however, it will not prevent you from using a weak password.
$ terminus wp <site>.<env> -- user update firstname.lastname@example.org --user_pass=NEWPASSWORD
As a side note,
terminus 'wp user update' can be used to change almost any property of a WordPress user's account.
wp_update_user() gives a complete list of all the fields that can be changed. You can change any of them by using
--field=value. In the above command, field is "user_pass" and value is NEWPASSWORD.