Ju
ne
20
18
Legrand PDU User Guide 407
value line 1
value line 2
EOF
Note: The line break before the closing EOF is not part of the value. If a line break is required in the
value, insert an additional empty line before the closing EOF.
Special configuration keys:
There are 3 special configuration keys that are prefixed with
magic:
.
A special key that sets a user account's password without knowing the firmware's internal
encryption/hashing algorithms is implemented.
Example:
magic:users[1].cleartext_password=joshua
Two special keys that set the SNMPv3 passphrases without knowing the firmware's internal
encryption/hashing algorithms are implemented.
Examples:
magic:users[1].snmp_v3.auth_phrase=swordfish
magic:users[1].snmp_v3.priv_phrase=opensesame
To configure device-specific settings:
1. Make sure the device list configuration file "devices.csv" is available in the PDU2. See
devices.csv
(on
page 408)
2. In the "config.txt" file, refer each device-specific configuration key to a specific column in the
"devices.csv" file. The syntax is:
${column}
, where "column" is a column number.
Examples:
net.interfaces[eth0].ipv4.static.addr_cidr.addr=${4}
pdu.name=${16}
To rename the admin user:
You can rename the admin user by adding the following configuration key:
users[0].name=new admin name
Example:
users[0].name=May