Change user password using Drush

drush user-password admin --password="admin"

drush upwd admin --password="admin"

(Re)Set the password for the user account with the specified name.

 drush user-password someuser       Set the password for the username someuser. @see 
 --password="correct horse battery                                                                

 name                                      The name of the account to modify. 

 --password=<foo>                          The new password for the account. Required. 

Aliases: upwd

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.