roles 指令
使用此指令可顯示或配置角色。
下表顯示各選項的引數。
選項 | 說明 | 值 |
---|---|---|
-n | 要配置的角色 | 限制在 32 個字元內 |
-p | 設定權限 | custom: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
提供意見回饋