Modifying User Roles to Allow Shell Access


You can add privileges to a user by adding new parameters available for roles. To add shell access to a user’s role, use the following syntax:



CLI (network-admin@switch) > role-create


name name-string

Specify a name for the user role.

scope local|fabric

Specify a scope for the user role.

One or more of the following options:

access read-only|read-write

Specify the type of access for the user role. The default is read-write.

running-config|no-running-config   

Specify if the user role allows access to the switch running configuration.

shell|no-shell

Specify if the user role allows access to the shell.

sudo|no-sudo

Specify if the user role allows the sudo command.

 

The new parameters are also available for the role-modify command.