WebTechKitchen; Your Web Technology Kitchen, contact us to create, or maintain your websites and other digital properties.

Adding user or users through the drush command line

Submitted by barnettech on Fri, 10/28/2016 - 10:48

drush @hmsdashboard-localtest user-create jbarnett
drush @hmsdashboard-localtest user-add-role administrator jbarnett
drush @hmsdashboard-localtest upwd jbarnett --password="XXXXXXXXXXX"

or for drush 9 drush user:password jbarnett "XXXXXXXXXXXXXXXX"

to get a one time login link
drush --uri="http://first.finra7.org.dd:8083" uli mybarnett