permgroups command
This command displays and configures user permission groups of the primary CMM.
- Permission groups are assigned to users using the users command.
- Permission groups can be backed up as part of the CMM configuration using the write command.
- Permission groups are restored as part of a backed up CMM configuration using the read command.
If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or permgroups command errors for a list of error messages that are specific to the permgroups command.
Function | What it does | Command | Target (see paths in Command targets) |
---|---|---|---|
Display all user permission groups | Displays all user permission groups set up for the CMM. | permgroups | Primary CMM:
|
Display specific user permission group | Displays information for the specified user permission group. | permgroups -n group_name where group_name is the name that identifies the user permission group. | Primary CMM:
|
Add user permission group | Creates a new user permission group. Note
| permgroups -add -n group_name -a group_authority where:
| Primary CMM:
|
Add user permission group (continued) | where the scope is one or more of the following devices, separated by a vertical bar ( | ). Ranges of devices are separated by a dash ( - ).
This command can only be run by users who have one or more of the following command authorities:
| ||
Modify user permission group | Modify the selected user permission group. Note
| permgroups -n group_name -a group_authority where:
| Primary CMM:
|
Modify user permission group (continued) | where the scope is one or more of the following devices, separated by a vertical bar ( | ). Ranges of devices are separated by a dash ( - ).
This command can only be run by users who have one or more of the following command authorities:
| ||
Delete user permission group | Delete the specified user permission group. Note Group names are not case sensitive. | permgroups -n group_name-clear where group_name is the name that identifies the user permission group. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
permgroups -add -n superuser -a rbs:super:c1|b1-b14|s1-s4 -T mm[p]
permgroups -n superuser -T mm[p]
The following example shows the information that is returned from these commands:
system> permgroups -add -n superuser -a rbs:super:c1|b1-b14|s1-s4 -T mm[p]
OK
system> permgroups -n superuser -T mm[p]
-a Role:supervisor
Blades:1|2|3|4|5|6|7|8|9|10|11|12|13|14
Chassis:1
Modules:1|2|3|4
system>