Skip to content

Instantly share code, notes, and snippets.

@davidjguru
Created April 27, 2021 12:09
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save davidjguru/28c871763cf3fd4ca07c896769055b48 to your computer and use it in GitHub Desktop.
Create a new admin user in Drupal 8 or 9 by Drush
$ drush user-create admin_drupal --mail="admindrupal@test.com" --password="admin_drupal"
$ drush user-add-role "administrator" admin_drupal
$ drush cr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment