Skip to main content

roles command

Use this command to display or configure roles.

Syntax:
roles role_account[3-31] [-options]

Table 1. roles options
OptionDescriptionValues
-n

Role name

Limited to 32 characters

-p

Set privileges

custom:am|rca|rcvma|pr|cel|bc|nsc|ac|us
  • am: User account management access

  • rca: Remote console access

  • rcvma: Remote console and remote disk (virtual media) access

  • pr: Remote server power/restart access

  • cel: Ability to clear event logs

  • bc: Adapter Configuration (basic)

  • nsc: Adapter Configuration (network and security)

  • ac: Adapter Configuration (advanced)

  • us: UEFI Security

Note
The above custom permission flags can be used in any combination
-d

Delete a row

 
Note
When creating a new role, if the user specified role index already exists, the new role index might not be the same as the user specified index.
Example:
system> roles -3 -n test -p custom:nsc|pr|bc|cel|ac
ok
system> roles
Account Role Privilege Assigned To
------- ---------------------------------- ------------------------- ------------
0 Administrator all USERID
1 ReadOnly none
2 Operator custom:nsc|pr|bc|cel|ac
3 test custom:nsc|pr|bc|cel|ac
system> roles -d test
ok
system> roles
Account Role Privilege Assigned To
------- --------------------------- ------------------------- ------------
0 Administrator all USERID
1 ReadOnly none
2 Operator custom:nsc|pr|bc|cel|ac