Friday, April 12, 2013

Changing the admin password using drush of a drupal site.

Here is the drush command for changing the admin password for the drupal admin user.
drush upwd admin --password=your_new_password
The admin will be the username of the user with user id 1.