Adding a Role (CLI)
Use the following procedure to add a role.
-
Go to configuration roles.
-
Type role followed by the role name you want to
create.
-
Set the description, then type commit to commit the
role.
- (Optional)
Type authorizations.
- (Optional)
Type create to add an authorization.
- (Optional)
Type set scope= followed by the scope name. Use
tab-completion to see the list.
- (Optional)
Type show to see both available filters and
authorizations.
- (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.
-
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
hostname:configuration roles > show
Roles:
NAME DESCRIPTION
basic Basic administration
webadmin web server administrator