[Nut-upsuser] Things seem to be working but upscmd does nothing

Arnaud Quette aquette.dev at gmail.com
Thu Dec 16 11:38:22 UTC 2010

2010/12/15 Arjen de Korte <nut+users at de-korte.org <nut%2Busers at de-korte.org>

> Citeren Richard <richard-nut at rain4us.net>:
> (...)
>  <upsd.users>
>> [nutmon]
>>        password = easy
>>        nutmon master           # or upsmon slave
> If this is all there is in this file, you've missed setting up the
> permitted instcmds and actions for this user. See 'man 5 upsd.users' for an
> explanation. Failing to set this up, will default to not allowing instcmds
> and variable settings at all.

Note that you have a typo error.
the directive is "upsmon master", not "nutmon master".

moreover, as Arjen stated, you need to tell if/what the NUT user can do.
the prefered way is to have a separate user for this, like:

                password = dummypass
                actions = SET
                instcmds = ALL

Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20101216/80a35ecc/attachment.htm>

More information about the Nut-upsuser mailing list