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@ProLiant:/etc/nut# upsrw -u monmaster -p p455w0rd -s > ups.delay.shutdown=180 ups > Unexpected response from upsd: ERR ACCESS-DENIED > root@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@gmail _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser