Modifying A Role - LEGRAND Server Technology PRO3X User Manual

Command line interface (cli)
Hide thumbs Also See for Server Technology PRO3X:
Table of Contents

Advertisement

Modifying a Role

You can modify diverse parameters of an existing role, including its privileges.
Modify a role's description:
config:#
role modify <name> description "<description>"
Add more privileges to a specific role:
role modify <name> addPrivileges
config:#
<privilege1>;<privilege2>;<privilege3>...
If a specific privilege contains any arguments, add a colon and the argument(s) after that privilege.
config:#
role modify <name> addPrivileges
<privilege1>:<argument1>,<argument2>...;
<privilege2>:<argument1>,<argument2>...;
<privilege3>:<argument1>,<argument2>...;
...
Remove specific privileges from a role:
config:#
role modify <name> removePrivileges
<privilege1>;<privilege2>;<privilege3>...
If a specific privilege contains any arguments, add a colon and the argument(s) after that privilege.
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.
<description> is a description comprising alphanumeric characters. The <description> variable must be enclosed in quotes
when it contains spaces.
<privilege1>, <privilege2>, <privilege3> and the like are names of the privileges assigned to the role. Separate each privilege
with a semi-colon.
<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.
PRO3X User Guide – Command Line Interface (CLI)
120 of 182
Using the PRO3X Command Line Interface (CLI)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Server Technology PRO3X and is the answer not in the manual?

Table of Contents