table of contents
UPSD.USERS(5) | NUT Manual | UPSD.USERS(5) |
NAME¶
upsd.users - Administrative user definitions for NUT upsd
DESCRIPTION¶
Administrative commands such as setting variables and the instant commands are powerful, and access to them needs to be restricted. This file defines who may access them, and what is available.
Each user gets its own section. The fields in that section set the parameters associated with that user’s privileges. The section begins with the name of the user in brackets, and continues until the next user name in brackets or EOF. These users are independent of /etc/passwd.
Here are some examples to get you started:
[admin]
password = mypass
actions = set
actions = fsd
instcmds = all
[pfy]
password = duh
instcmds = test.panel.start
instcmds = test.panel.stop
[upswired]
password = blah
upsmon primary
[observer]
password = abcd
upsmon secondary
FIELDS¶
password
actions
SET
FSD
The list of actions is expected to grow in the future.
instcmds
The cmdvartab file supplied with the distribution contains a list of most of the known command names.
upsmon
Do not attempt to assign actions to upsmon by hand, as you may miss something important. This method of designating a "upsmon user" was created so internal capabilities could be changed later on without breaking existing installations.
SEE ALSO¶
Internet resources:¶
The NUT (Network UPS Tools) home page: https://www.networkupstools.org/
09/10/2024 | Network UPS Tools 2.8.1 |