Adding a Role (CLI)
Related Topics
■
Understanding Users and Roles
■
User Authorizations
■
Managing User Properties
Adding a Role (CLI)
Use the following procedure to add a role.
1.
Go to configuration roles.
2.
Type role followed by the role name you want to create.
3.
Set the description, then type commit to commit the role.
4.
(Optional) Type authorizations.
5.
(Optional) Type create to add an authorization.
6.
(Optional) Type set scope= followed by the scope name. Use tab-completion to
see the list.
7.
(Optional) Type show to see both available filters and authorizations.
8.
(Optional) Type set to set the desired authorizations to true, and set the filters (if
available). Tab-completion helps show which filter settings are valid.
9.
Type commit.
The new role has now been added.
Example 6
Creating the Role "webadmin"
hostname:> configuration roles
hostname:configuration roles > role webadmin
hostname:configuration roles webadmin (uncommitted) > set
description="web server administrator"
description = web server administrator (uncommitted)
hostname:configuration roles webadmin (uncommitted) > commit
172 Oracle ZFS Storage Appliance Administration Guide, Release OS8.6.x • September 2016