Skip to content Skip to navigation

Setting Up Accounts, Roles, and Privileges for sites.stanford.edu

Getting a new Drupal site set up takes a few steps before you can begin building your site. Also, Stanford Sites is a little different than other hosting environments. One of the first things to tackle after creating your new site on Stanford Sites is setting up the accounts, roles, and privileges.

SUNetID versus admin

Each account on a Drupal site must have a unique email address.  If you used your SUNetID as the email address when requesting your site, this will be the email address for the admin (a.k.a. user 1) account. However, if you want to log in to your site using your SUNetID and Stanford's WebAuth, the admin account  cannot use that SUNetID email address. You may need address this by changing the admin account email address to something like: sunetid+admin@stanford.edu.

If , for some reason, you lost or forgot the password for the admin account, 

Note: if you're already logged into the site, you'll need to log out by navigating to https://mysite/user/logout. Substitute "mysite" for the name of your site. 

  1. Navigate to the user page at https://mysite/user
  2. Select Request New Password
  3. Enter admin for the username
  4. Click on E-mail new password

A one-time password reset link will be sent to the email account associated with the admin. Click on that link to log into your site. At this point you'll be able to change the password for your account.

To have admin privileges while logged in with your SUNetID, you'll need to add administration privileges to your user account. These privileges are defined through "Roles."

To add or change a role for any user account, visit admin/people or People from the admin menu.  

  1. Select edit for the user account you'd like to change.  
  2. Scroll down until you see Roles and select or deselect the desired role(s). 

If you want to add additional roles to your site, such as an "Editor," you can add them at admin/people/permissions/roles or from the admin menu:

People > Permissions > Roles

To define privileges for a role, visit the "Permissions" page at admin/people/permissions or

People > Permissions

With your user accounts, roles, and privileges set up, you can proceed with building your site!

Categories: