Raritan Computer EMX2-111 User Manual

Page of 379
 
Chapter 10: Using the Command Line Interface 
 
 
309
 
 
Example 
The following command creates a new role and assigns privileges to the 
role. 
config:# 
role create tester firmwareUpdate;viewEventSetup 
 
Results: 
 
A new role "tester" is created. 
 
Two privileges are assigned to the role: firmwareUpdate (Firmware 
Update) and viewEventSetup (View Event Settings). 
 
 
Modifying a Role 
You can modify diverse parameters of an existing role, including its 
privileges. 
 
To modify a role's description: 
config:# 
role modify <name> description "<description>" 
 
Variables:  
 
<name> is a string comprising up to 32 ASCII printable characters. 
 
<description> is a description comprising alphanumeric characters. 
The <description> variable must be enclosed in quotes when it 
contains spaces. 
 
 
To add more privileges to a specific role: 
config:# 
role modify <name> addPrivileges 
<privilege1>;<privilege2>;<privilege3>... 
 
If a specific privilege contains any arguments, add a colon and the 
argument(s) after that privilege.