使用以下过程编辑用户的例外。
现在已添加了例外。
此示例添加例外以为用户 "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 >