drush user:passwordfor drush 9x


Set the password for the user account with the specified name.

drush user:password

  • Aliases


    user:password has 2 alias/es:


    drush upwd

    drush user-password

  • Arguments


    user:password accepts 2 argument/s:


    name* : The name of the account to modify.

    password* : The new password for the account.

  • Options


    user:password accepts 3 option/s:


    --notify

    --notify : notify

    --druplicon

    --druplicon : druplicon

    --xh-link

    --xh-link : xh-link

  • Examples


    Set the password for the username someuser. @see xkcd.com/936

    drush user:password someuser "correct horse battery staple"

  • Comments


    comments powered by Disqus