[Nut-upsuser] "Master privileges unavailable on UPS" after upgrade to Debian Lenny

Arjen de Korte nut+users at de-korte.org
Mon Mar 9 11:21:02 UTC 2009


Citeren David Smith <lists op nobodynet.net>:

> 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 monuser op 127.0.1.1 logged
> into UPS [copstick_ups]
> Mar  7 00:27:19 copstick3 upsmon[26319]: Master privileges unavailable
> on UPS [copstick_ups op 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




More information about the Nut-upsuser mailing list