Change Drupal admin password using Drush

Change Drupal admin password using Drush

Tags

Today I wanted to share very handy tip, on how can I change a user's Drupal password from the command-line with Drush?

Very easy using drush upwd command:

drush upwd USERNAME --password="SOMEPASSWORD"

This should work for all versions of Drupal.