คำสั่ง 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
ส่งคำติชม