Go to main content
Oracle® ZFS Storage Appliance 管理ガイド、Release OS8.7.0

印刷ビューの終了

更新: 2017 年 3 月
 
 

ユーザーの例外の編集 (CLI)

ユーザーの例外を編集するには、次の手順を使用します。

  1. configuration users に移動します。
  2. select」に続いてユーザー名を入力します。
  3. exceptions」を入力します。
  4. create」を入力します。
  5. set scope=」に続いてスコープ名を入力します。タブ補完を使用して、一覧を表示します。
  6. show」を入力してプロパティーを一覧表示します。
  7. 目的のプロパティーを true に設定するには、set と入力します。
  8. commit」と入力します。

    これで、例外が追加されました。

使用例 3  スコープ承認を除外するための例外の追加

この例では、例外を追加して、ユーザー "brendan" の svc スコープ認証を除外します。

hostname:configuration users brendan > exceptions
hostname:configuration users brendan exceptions > create
hostname:configuration users brendan auth (uncommitted) > show
Properties:
                         scope = (unset)
hostname:configuration users brendan auth (uncommitted) > set scope=svc
                         scope = svc 
hostname:configuration users brendan auth (uncommitted) > show
Properties:
                         scope = svc
                       service = *
              allow_administer = false
               allow_configure = false
                 allow_restart = false
hostname:configuration users brendan auth (uncommitted) > commit
hostname:configuration users brendan exceptions > show
Auths:

NAME            OBJECT                               PERMISSIONS
auth-000        svc.*                                none 

hostname:configuration users brendan exceptions > select auth-000
hostname:configuration users brendan auth-000 > show
Properties:
                         scope = svc
                       service = *
              allow_administer = false
               allow_configure = false
                 allow_restart = false

hostname:configuration users brendan auth-000 >
使用例 4  スコープ承認を含めるための例外の追加

この例では、例外を追加して、ロール「webadmin」に含まれないスコープ承認を含めます。

hostname:configuration users brendan exceptions > create
hostname:configuration users brendan auth (uncommitted) > set scope=appliance
                         scope = appliance 
hostname:configuration users brendan auth (uncommitted) > show
Properties:
                         scope = appliance
                       service = *
                   allow_audit = false
            allow_factoryReset = false
                allow_powerOff = false
                  allow_reboot = false
                 allow_setName = false
                   allow_shell = false
                   
hostname:configuration users brendan auth (uncommitted) > set allow_audit=true
                   allow_audit = true (uncommitted) 
hostname:configuration users brendan auth (uncommitted) > commit
hostname:configuration users brendan exceptions > show
Auths:

NAME            OBJECT                               PERMISSIONS
auth-000        svc.*                                none 
auth-001        appliance.*                          audit 

hostname:configuration users brendan exceptions > 

関連トピック