Utilisez la procédure suivante pour modifier les exceptions liées à un utilisateur.
L'exception est alors ajoutée.
Cet exemple ajoute une exception afin d'exclure les autorisation de portée svc pour l'utilisateur "brendan" :
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 >
Exemple 4 Ajout d'une exception pour inclure les autorisations d'une portée
Cet exemple ajoute une exception pour inclure une autorisation de portée ne faisant pas partie du rôle "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 >