Citeren David Smith <[email protected]>:

> On issuing a "/etc/init.d/nut start" I get the following in my syslog:
>
> Mar  7 00:27:19 copstick3 upsd[26316]: Connection from 127.0.1.1
> Mar  7 00:27:19 copstick3 upsd[26316]: Client [email protected] logged
> into UPS [copstick_ups]
> Mar  7 00:27:19 copstick3 upsmon[26319]: Master privileges unavailable
> on UPS [copstick_...@copstick3]
> Mar  7 00:27:19 copstick3 upsmon[26319]: Response: [ERR ACCESS-DENIED]
[...]

> upsd.conf
> #########
> ACL all 0.0.0.0/0
> ACL localhost 127.0.0.1/32
> ACL localhost2 127.0.1.1/32
> ACL nobodynet 10.9.2.0/24

[...]

> upsd.users
> ##########
> [admin]
>       password = blarblarblarblar
>       allowfrom = localhost
>       actions = SET
>       instcmds = ALL
> [monuser]
>       password  = blarblar
>       allowfrom = localhost
>       actions = SET
>       instcmds = ALL
>       upsmon master

Of course this fails. You're connecting from localhost2 [127.0.1.1]  
but master privileges can only be set from localhost [127.0.0.1].

Best regards, Arjen
-- 
Please keep list traffic on the list


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

Reply via email to