[Nut-upsuser] ERR ACCESS-DENIED in upsrw

Fabio Cecamore ceca_89 at hotmail.com
Fri Sep 7 11:14:43 UTC 2012


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]               : 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