[Nut-upsuser] Problems with upscmd ACCESS-DENIED
Garðar Arnarsson
gardar at giraffi.net
Thu Mar 10 20:19:33 UTC 2011
Thanks a bunch, that worked like a charm :)
But now I've got another question... After I run commands (tests) with
upscmd, where do I see the results?
Ran a battery test check and it did not give any output.
Thanks in advance.
On Thu, Mar 10, 2011 at 8:25 AM, Arjen de Korte <nut+users at de-korte.org>wrote:
> Citeren Garðar Arnarsson <gardar at giraffi.net>:
>
>
> I have defined the user in the /etc/ups/upsd.users
>>
>> 74 [gardar]
>> 75 password = hidden
>> 76 allowfrom = local
>> 77 actions = SET
>> 78 instcmds = ALL
>> 79 [local_mon]
>> 80 password = hidden
>> 81 allowfrom = localhost
>> 82 upsmon master
>>
>> Device and driver info:
>>
>> device.mfr: Inform
>> device.model: SINUS1KURM
>> device.type: ups
>> driver.name: blazer_ser
>> driver.version: 2.6.0
>> driver.version.internal: 1.51
>>
>>
>> What am I doing wrong?
>>
>
> Did you check your syslog lately? The 'allowfrom' keyword is no longer used
> (since a couple of versions actually) and has been replaced by tcp-wrappers,
> which most likely is compiled in the version you're using. If there is a
> blanket 'deny all' in /etc/hosts.allow, this requires you to setup access
> permissions through /etc/hosts.allow. See the UPGRADING document, 'man 8
> upsd' and 'man 5 hosts_access'. Adding something like
>
> upsd : garder at localhost : ALLOW
>
> should work.
>
> Best regards, Arjen
> --
> Please keep list traffic on the list (off-list replies will be rejected)
>
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
--
Garðar Arnarsson
kerfisstjóri Giraffi sf.
gardar at giraffi.net
http://gardar.giraffi.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110310/d9511950/attachment.htm>
More information about the Nut-upsuser
mailing list