Skip to content

Commit 387a986

Browse files
authored
Allow API_USER to have access to commands (#136)
Without this line added, the API_USER account cannot do things like enable/disable the beeper
1 parent cc60e6b commit 387a986

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

images/nut-upsd/entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ EOF
4747
[$API_USER]
4848
password = $API_PASSWORD
4949
upsmon $SERVER
50+
instcmds = ALL
5051
EOF
5152
fi
5253
if [ -e /etc/nut/local/upsmon.conf ]; then

0 commit comments

Comments
 (0)