Skip to content

Instantly share code, notes, and snippets.

@ghalusa
Last active August 29, 2015 14:18
Show Gist options
  • Select an option

  • Save ghalusa/e9ddcb6f176150101512 to your computer and use it in GitHub Desktop.

Select an option

Save ghalusa/e9ddcb6f176150101512 to your computer and use it in GitHub Desktop.

Revisions

  1. Goran Halusa revised this gist Mar 31, 2015. 2 changed files with 13 additions and 7 deletions.
    13 changes: 13 additions & 0 deletions drush_create_new_user.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    ## Create a New User

    ```bash
    drush ucrt "new_user" --mail="new_user@email_address.com" --password="new_password"
    ```

    ## Add the Administrator Role to the New User

    (check the database to get the administrator ID)

    ```bash
    drush urol "administrator" 2
    ```
    7 changes: 0 additions & 7 deletions drush_create_new_user.txt
    Original file line number Diff line number Diff line change
    @@ -1,7 +0,0 @@
    Create a New User

    drush ucrt "new_user" --mail="new_user@email_address.com" --password="new_password"

    Add the Administrator Role to the New User (check the database to get the administrator ID)

    drush urol "administrator" 2
  2. Goran Halusa created this gist Mar 31, 2015.
    7 changes: 7 additions & 0 deletions drush_create_new_user.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    Create a New User

    drush ucrt "new_user" --mail="new_user@email_address.com" --password="new_password"

    Add the Administrator Role to the New User (check the database to get the administrator ID)

    drush urol "administrator" 2