Hi Russ
fre 2007-05-18 klockan 11:16 -0400 skrev Russ Romano:
> Can anyone give me insight into upsrw?
>  
> I have a cyberpower PR2200 UPS (running an experimental version of the
> powerpanel driver hot off the presses by Arjen (thanks Arjen!!)).
>  
> When I try to run "upsrw -s xyz=abc" to set any available variable, I
> get "Set variable failed: Access denied".
>  
> What user name and password is it looking for here?  My upsd.users
> file has 2 users configured, one for local master use, and one for
> remote slave use.  I tried the master username/password and the result
> is the same.  I've tried system username/password with no luck.
>  
> There doesn't seem to be much documentation on upsrw, and even the man
> page just refers to username and password without giving a scope as to
> what kind of username/password is expected and how to define it in
> upsd.users.

It look's like this.

[monuser]
        password  = pass
        allowfrom = localhost
        actions = set
        instcmds = all
        upsmon master

The line 'instcmds = ALL' tell the daemon that user 'monuser' with 
password 'pass' can run all commands.

The line 'actions = set' gives the monuser rights to set variables.

Try 'man upsd.users' for more info.

Regards
Kjell



_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to