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 What miss ? Thank you!
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] : ALLOWIn 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
I've done what you said but now.. root at ProLiant:/home/fabio# upsrw -u admin -p mypass -s ups.delay.shutdown=180 ups Unexpected response from upsd: ERR READONLY root at ProLiant:/home/fabio# I hope this not mean this variable is readonly.. -----Messaggio originale----- From: Charles Lepple Sent: Friday, September 07, 2012 12:55 PM To: Fabio Cecamore Cc: nut-upsuser at lists.alioth.debian.org Subject: Re: [Nut-upsuser] ERR ACCESS-DENIED in upsrw 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] : ALLOWIn 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
Reasonably Related Threads
- upsrw: "Unexpected response from upsd: ERR READONLY"
- AtlantisLand don't want to wake up after the whiteout
- AtlantisLand don't want to wake up after the whiteout
- Communications with UPS lost: No status from UPS
- AtlantisLand don't want to wake up after the whiteout