<br><br><div class="gmail_quote">2010/12/15 Arjen de Korte <span dir="ltr">&lt;<a href="mailto:nut%2Busers@de-korte.org">nut+users@de-korte.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Citeren Richard &lt;<a href="mailto:richard-nut@rain4us.net" target="_blank">richard-nut@rain4us.net</a>&gt;:<div class="im">(...)<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
&lt;upsd.users&gt;<br>
[nutmon]<br>
        password = easy<br>
        nutmon master           # or upsmon slave<br>
</blockquote>
<br>
<br></div>
If this is all there is in this file, you&#39;ve missed setting up the permitted instcmds and actions for this user. See &#39;man 5 upsd.users&#39; for an explanation. Failing to set this up, will default to not allowing instcmds and variable settings at all.<br>
</blockquote><div><br>Note that you have a typo error.<br>the directive is &quot;upsmon master&quot;, not &quot;nutmon master&quot;.<br><br>moreover, as Arjen stated, you need to tell if/what the NUT user can do.<br>the prefered way is to have a separate user for this, like:<br>
<br>        [admin]<br>                password = dummypass<br>                actions = SET<br>                instcmds = ALL<br><br></div></div>cheers,<br>Arnaud<br clear="all">-- <br>Linux / Unix Expert R&amp;D - Eaton - <a href="http://powerquality.eaton.com" target="_blank">http://powerquality.eaton.com</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>
Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br><br>