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.
Written by Luc Bézier
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Drush
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#