User's Manual

Chapter 10: Using the Command Line Interface
311
config:#
role modify <name> removePrivileges
<privilege1>:<argument1>,<argument2>...;
<privilege2>:<argument1>,<argument2>...;
<privilege3>:<argument1>,<argument2>...;
...
Note: When removing privileges from a role, make sure the specified
privileges and arguments (if any) exactly match those assigned to the
role. Otherwise, the command fails to remove specified privileges that
are not available.
Variables:
<name> is a string comprising up to 32 ASCII printable characters.
<privilege1>, <privilege2>, <privilege3> and the like are names of
the privileges assigned to the role. Separate each privilege with a
semi-colon. See All Privileges (on page 307).
<argument1>, <argument2> and the like are arguments set for a
particular privilege. Separate a privilege and its argument(s) with a
colon, and separate arguments with a comma if there are more than
one argument for a privilege.
Example
The following command modifies the privileges of the role "tester."
config:#
role modify tester addPrivileges changeAuthSettings removePrivileges
firmwareUpgrade
Results:
The "changeAuthSettings" (Change Authentication Settings)
privilege is added to the role.
The "firmwareUpgrade" (Firmware Upgrade) privilege is removed
from the role.
Deleting a Role
This command syntax deletes an existing role.
config:#
role delete <name>