Site administrators can promote any normal user account to a site administrator, as well as demote other site administrators to regular users.

Promoting a user from the user admin dashboard

  1. As a site admin, sign in to your GitHub Enterprise instance at http(s)://[hostname]/login.

  2. In the upper-right corner of any page, click . Rocketship icon for accessing site admin settings

  3. In the search field, type the name of the user and click Search. Site admin settings search field

  4. In the left sidebar, click Admin. Admin Tools

  5. In Danger Zone, under Site admin, click Promote. Promote button

  6. Type a reason for promoting the user account to a site administrator. Confirmation dialog box
  7. Click Promote.

Promoting using a command-line utility

  1. SSH into your appliance.
  2. Run ghe-user-promote with the username to promote.
    ghe-user-promote username
    

Demoting a site administrator from the user admin dashboard

  1. As a site admin, sign in to your GitHub Enterprise instance at http(s)://[hostname]/login.

  2. In the upper-right corner of any page, click . Rocketship icon for accessing site admin settings

  3. In the search field, type the name of the user and click Search. Site admin settings search field

  4. In the left sidebar, click Admin. Admin Tools

  5. In Danger Zone, under Site admin, click Demote. Demote button

  6. Type a reason for demoting the site administrator to a normal user account. Confirmation dialog box
  7. Click Demote.

Demoting Using a command-line utility

  1. SSH into your appliance.
  2. Run ghe-user-demote with the username to demote.
    ghe-user-demote username