Go to main content
Oracle® ZFS Storage Appliance 관리 설⁠명⁠서, 릴⁠리⁠스 OS8.6.x

인쇄 보기 종료

업데이트 날짜: 2016년 9월
 
 

사용자에 대한 예외사항 편집(CLI)

다음 절차에 따라 사용자에 대한 예외사항을 편집할 수 있습니다.

  1. configuration users로 이동합니다.
  2. select 뒤에 사용자 이름을 입력합니다.
  3. exceptions를 입력합니다.
  4. create를 입력합니다.
  5. set scope= 뒤에 범위 이름을 입력합니다. 탭 완성을 사용하여 목록을 표시합니다.
  6. show를 입력하여 등록 정보를 나열합니다.
  7. set를 입력하여 원하는 등록 정보를 true로 설정합니다.
  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 > 

관련 항목