Create a new administrator account in drupal with drush
User login
Saturday, April 13, 2019 - 14:34
In otder to create a new user in your website using drush, you'll need to run the following commands:
$ drush user-create YourUsername --mail="your@mail.com" --password="YourPassword"
This will create a new user in the website.
In order to assign the role administrator to the user run:
$ drush user-add-role "administrator" YourUsername
Tags:
Drupal 8, Drush