roles 命令
使用此命令可显示或配置角色。
下表显示选项的参数。
选项 | 描述 | 值 |
---|---|---|
-n | 要配置的角色 | 限制为 32 个字符 |
-p | 设置权限 | 定制:am|rca|rcvma|pr|cel|bc|nsc|ac|us
注 能够以任意组合使用以上定制权限标志 |
d | 删除行 |
语法
roles [-options] - display/configure roles
- role_account -role number[3-31]
options:
-n - role name (limited to 32 characters)
-p - privilege (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
示例
system> roles -3 -n test1 -p custom:am|rca|rcvma
ok
system> roles
Account Role Privilege Assigned To
------- ---------------------------------- ------------------------- -------------------------------
0 Administrator all USERID
1 ReadOnly none
2 Operator custom:pr|cel|bc|nsc
3 test1 custom:am|rca|rcvma
提供反馈