Editing Authorizations For A Role (Cli) - Oracle ZFS Storage Appliance Administration Manual

Hide thumbs Also See for ZFS Storage Appliance:
Table of Contents

Advertisement

Editing Authorizations for a Role (CLI)

Editing Authorizations for a Role (CLI)
A role is a collection of privileges that can be assigned to a user. Use the following procedure to
edit authorizations for a role.
1.
Go to configuration roles.
2.
Type select followed by the role name.
3.
Type authorizations.
4.
Type create to add an authorization.
5.
Type set scope= followed by the scope name. Use tab-completion to see the list.
6.
Type show to see both available filters and authorizations.
7.
Type set to set the desired authorizations to true, and set the filters (if available).
Tab-completion helps show which filter settings are valid.
8.
Type commit.
The authorization has now been added.
Adding the Authorization to Restart the HTTP Service
Example 7
This example adds the authorization to restart the HTTP service. This example also shows
the output of tab-completion, which lists valid input and is useful when determining the valid
scopes and filter options.
hostname:configuration roles > select webadmin
hostname:configuration roles webadmin > authorizations
hostname:configuration roles webadmin authorizations > create
hostname:configuration roles webadmin auth (uncommitted) > set scope=tab
ad
alert
appliance
hostname:configuration roles webadmin auth (uncommitted) > set scope=svc
hostname:configuration roles webadmin auth (uncommitted) > show
Properties:
174
Oracle ZFS Storage Appliance Administration Guide, Release OS8.6.x • September 2016
cluster
net
hardware
replication stat
nas
role
scope = svc
scope = svc
service = *
allow_administer = false
schema
update
user
svc
worksheet

Advertisement

Table of Contents
loading

Table of Contents