Configure "User 1" and Site Admin Role & Users

I recommend that the first user created (usually referred to as "User 1") --which was created during the installation process-- be renamed "Update Admin" and that this user be used only when updating modules or Drupal core, but not when developing the site or adding content. User 1 must be used by whomever is doing updates, which may not be the same person over time, thus it is unwise to use User 1 as any individual's primary account. In addition, User 1 can do anything on the site, regardless of permission settings, and so using User 1 when configuring and developing a site makes it all too easy to forget to set permissions properly. But before logging out of User 1, it is a good idea to set up the main site administrator's primary account as the second user, and give them a nearly all-powerful user role.

  1. Configure "User 1"
    1. Go to Administer->User management->Users (/admin/user/user)
    2. There should only be one user in the list. That user, which the Collaboration Tools Installer named with your SUNet ID, is User 1.
    3. Click on the "edit" link for User 1 (in the "Operations" column)
    4. Change the name in the text box under "Username" to Update Admin.
    5. Change the email address in the text box under "E-mail address". Because Drupal does not allow you to use the same email address for more than one user --every user account must have a unique email address-- and because, as a site developer, you will have at least three user accounts on this site (Update Admin, a primary account, and a test user) and since your SUNet ID user account will automatically use your sunetid@stanford.edu  address, you should not enter your sunetid@stanford.edu  address for Update Admin.
      • Instead, enter an instant alias of your sunetid@stanford.edu  address by inserting a "+" followed by some additional characters between your SUNet ID and "@stanford.edu": sunetid+sitename-update-admin@stanford.edu (e.g., skrossa+drupaltrainingexample-update-admin@stanford.edu). Email sent to such an address will automatically be routed to the plain sunetid@stanford.edu email account. As an added bonus, using your site name and "-update-admin" for the additional characters will help keep clear which of your Drupal sites is sending email and that it is directed at the Update Admin user.
    6. Leave the text boxes under "Password" and "Confirm password" blank (unless you want to change the password for Update Admin)
    7. Leave "Active" selected under "Status"
    8. Leave all roles under "Roles" unenabled (unchecked), except "authenticated user"
    9. Don't make any other changes
    10. Click on the "Save" button
  2. Add a role called "Zite Admin" (or "Site Admin" or "Webmaster", or other appropriate term --I prefer "Zite Admin" because it almost guarantees that the role will remain the right-most column on the Permissions page, which makes it much easier to easily scan the permission settings for this role, which is intended to be nearly all-powerful and so have nearly all permissions enabled).
    1. Go to Administer->User management->Roles (http://www.stanford.edu/.../admin/user/roles)
    2. Enter Zite Admin into the blank text box under "Name" and then click the "Add role" button. Note that you are allowed to use capital letters and spaces in the name, so it can be human-friendly.
    3. Click on the "edit permissions" link for Zite Admin.
    4. Enable (check) all permissions for Zite Admin, except those that include the words "delete" or "PHP"
    5. Click the "Save permissions" button
    6. Note that, because the Zite Admin role is so powerful --and because anyone who is a Zite Admin can also log in as the all-powerful Update Admin user-- this role should not be assigned lightly. Only the very highest level site administrators should be given this role --people you trust completely not to do anything damaging either on purpose or by accident. (Many sites should only have one person with this role, and there are very few sites that should have more than a few users with this role.)
  3. Add a new user that will be your primary account (the one from which you will develop the site and add content). This user should be a local Drupal account, not a SUNet ID account. (Site developers will need to user their SUNet ID account for testing, which often will require deleting the SUNet ID account from the site --for example, in order to test the experience of SUNet ID users new to the site. When a user is deleted, everything they did on the site becomes attributed to "Anonymous", which is highly undesirable, thus site developers should not user their SUNet ID accounts --or any other test account-- for anything but testing.)
    1. Go to Administer->User management->Users (http://www.stanford.edu/.../admin/user/user)
    2. Click on the "Add user" tab
    3. Enter your desired name into the text box under "Username". I recommend using your first and last names separated by a space --you are allowed to use capital letters and spaces, so your username can be human-friendly. Also, you may configure your site to display who authored certain content, and using real names makes that feature much more useful/meaningful.
    4. Enter your email address into the text box under "E-mail address". Note that because Drupal does not allow you to use the same email address for more than one user --every user account must have a unique email address-- and because, as a site developer, you will have at least three user accounts on this site (Update Admin, a primary account, and a test user) and since your SUNet ID user account will automatically use your sunetid@stanford.edu  address,  you should not enter your sunetid@stanford.edu  address for this account.
      • Instead, enter an instant alias of your sunetid@stanford.edu  address by inserting a "+" followed by some additional characters between your SUNet ID and "@stanford.edu": sunetid+sitename@stanford.edu (e.g., skrossa+drupaltrainingexample@stanford.edu). Email sent to such an address will automatically be routed to the plain sunetid@stanford.edu email account. As an added bonus, using your site name for the additional characters will help keep clear which of your Drupal sites is sending you email.
    5. Enter a password for this account into the text box under "Password". Do not user your SUNet ID password!
    6. Re-enter the password into the text box under "Confirm password".
    7. Leave "Active" selected under "Status"
    8. Enable (check) "Zite Admin" under "Roles".
    9. Enable (check) "Notify user of new account".
    10. Click on the "Create new account" button.
  4. Log out (in Admininister menu)
  5. Login to your new primary account!