Skip to main content
ドキュメントには� �繁に更新が� えられ、その都度公開されています。本ページの翻訳はま� 未完成な部分があることをご了承く� さい。最新の情� �については、英語のドキュメンテーションをご参照く� さい。本ページの翻訳に問題がある� �合はこちらまでご連絡く� さい。

このバージョンの GitHub Enterprise はこの日付をもって終了となりました: 2022-06-03. 重大なセキュリティの問題に対してであっても、パッチリリースは作成されません。 パフォーマンスの向上、セキュリティの改善、新機能のためには、最新バージョンのGitHub Enterpriseにアップグレードしてく� さい。 アップグレードに関する支援については、GitHub Enterprise supportに連絡してく� さい。

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.

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.

For information about promoting a user to an organization owner, see the ghe-org-admin-promote section of "Command-line utilities."

Promoting a user from the enterprise settings

  1. GitHub Enterprise Serverの右上で、プロフィール写真をクリックし、続いてEnterprise settings(Enterpriseの設定)をクリックしてく� さい。 GitHub Enterprise Serverのプロフィール写真のドロップダウンメニュー内の"Enterprise settings"

  2. Enterpriseアカウントのサイドバーで、People(人)をクリックしてく� さい。 Enterpriseアカウントサイドバー内のPeopleタブ

  3. " People(人物)"の下で、Administrators(管理者)をクリックしてく� さい。

    Administrators tab

  4. In the upper-right corner of the page, click Add owner. Button to add an admin

  5. In the search field, type the name of the user and click Add. Search field to add an admin

Demoting a site administrator from the enterprise settings

  1. GitHub Enterprise Serverの右上で、プロフィール写真をクリックし、続いてEnterprise settings(Enterpriseの設定)をクリックしてく� さい。 GitHub Enterprise Serverのプロフィール写真のドロップダウンメニュー内の"Enterprise settings"

  2. Enterpriseアカウントのサイドバーで、People(人)をクリックしてく� さい。 Enterpriseアカウントサイドバー内のPeopleタブ

  3. " People(人物)"の下で、Administrators(管理者)をクリックしてく� さい。

    Administrators tab

  4. 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. Search field to find an administrator

  5. In the search results, find the username of the person you want to demote, then use the drop-down menu, and select Remove owner. Remove from enterprise option

Promoting a user from the command line

  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 command line

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