Ju
ne
20
18
Legrand PDU User Guide 355
Example - Creating a Role
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).
Authentication Commands
An authentication configuration command begins with
authentication
.
Determining the Authentication Method
You can choose to set the authentication type only, or both set the authentication type and determine
whether to switch to local authentication in case the remote authentication is not available.
Determine the authentication type only:
config:#
authentication type <option1>
Determine the authentication type and enable/disable the option of switching to local
authentication:
config:#
authentication type <option1> useLocalIfRemoteUnavailable <option2>
Note: You cannot enable or disable the option of switching to local authentication without determining the
authentication type in the CLI. Therefore, always type "authentication type <option1>" when setting up
"useLocalIfRemoteUnavailable".
Variables:
<option1> is one of the options:
local
,
ldap
or
radius
.
Option
Description
local
Enable Local authentication only.
ldap
Enable LDAP authentication.
radius Enable
Radius
authentication.
<option2> is one of the options:
true
or
false
.
Option
Description
true
Remote authentication is the first priority. The
device will switch to local authentication when the
remote authentication is not available.
false
Always stick to remote authentication regardless
of the availability of remote authentication.