Are you sure you want to delete this access key?
title | redirect_from | intro | versions | type | topics |
---|---|---|---|---|---|
Promoting or demoting a site administrator | [/enterprise/admin/articles/promoting-a-site-administrator/ /enterprise/admin/articles/demoting-a-site-administrator/ /enterprise/admin/user-management/promoting-or-demoting-a-site-administrator /admin/user-management/promoting-or-demoting-a-site-administrator] | Site administrators can promote any normal user account to a site administrator, as well as demote other site administrators to regular users. | [{enterprise-server *}] | how_to | [Access management Accounts User account Enterprise] |
{% tip %}
Note: If LDAP Sync is enabled and the Administrators group
attribute is set when configuring LDAP access for users, those users will automatically have site administrator access to your instance. In this case, you can't manually promote users with the steps below; you must add them to the LDAP administrators group.
{% endtip %}
For information about promoting a user to an organization owner, see the ghe-org-admin-promote
section of "[Command-line utilities](/enterprise/{{ currentVersion }}/admin/guides/installation/command-line-utilities#ghe-org-admin-promote)."
{% data reusables.enterprise-accounts.access-enterprise %}
{% data reusables.enterprise-accounts.people-tab %}
{% data reusables.enterprise-accounts.administrators-tab %}
5. In the upper-right corner of the page, click Add owner.
6. In the search field, type the name of the user and click Add.
{% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.people-tab %} {% data reusables.enterprise-accounts.administrators-tab %}
In the upper-left corner of the page, in the "Find an administrator" search field, type the username of the person you want to demote.
In the search results, find the username of the person you want to demote, then use the {% octicon "gear" %} drop-down menu, and select Remove owner.
$ ghe-user-promote <em>username</em>
$ ghe-user-demote <em>username</em>
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?