Last Updated: February 25, 2016
·
586
· luukyb

Change or reset passwords in Drupal

The quickest way is to use drush

Change a password:

drush upwd admin --password="newpassword"

Reset with a one time login url:

drush uli admin

If you don't put a username, you will get a reset url for the user with uid = 1.