[Nut-upsuser] ERR ACCESS-DENIED in upsrw

Charles Lepple clepple at gmail.com
Fri Sep 7 10:55:57 UTC 2012


On Sep 7, 2012, at 3:22 AM, Fabio Cecamore wrote:

> Hi all,
> i've a problem with only a command in all suite: upsrw.
> 
> root at ProLiant:/etc/nut# upsrw -u monmaster -p p455w0rd -s ups.delay.shutdown=180 ups
> Unexpected response from upsd: ERR ACCESS-DENIED
> root at ProLiant:/etc/nut#
> 
> upsc and upsmon work greatly.
> 
> This is in my /etc/host.allow:
> upsd : localhost, LOCAL, 127.0.0.1,    [::1]               : ALLOW


In upsd.users, you need a user entry which allows the "SET" action. I'd recommend not using the "monmaster" user, but you could add to that entry temporarily.

The upsd.users man page has an example "admin" user which would work:

http://www.networkupstools.org/docs/man/upsd.users.html

-- 
Charles Lepple
clepple at gmail






More information about the Nut-upsuser mailing list