Resetting Passwords in Drupal 7 with Drush

Public

Get raw version
bash
  1. # Generate a one time login link for any user
  2. drush uli some-username
  3. # Set the password for any user
  4. drush upwd some-username --password="newpassword"