Skip to content

Instantly share code, notes, and snippets.

@stenrdj
Forked from ecorson/drush_admin_create
Created March 16, 2018 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stenrdj/8b2f11d0584290ca7fc85121f7f5afd1 to your computer and use it in GitHub Desktop.
Save stenrdj/8b2f11d0584290ca7fc85121f7f5afd1 to your computer and use it in GitHub Desktop.
Add admin user via Drush
drush user-create adminuser --mail="adminuser@uiowa.edu" --password="UserPw"; drush user-add-role "administrator" adminuser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment