Richard
2010-Oct-05 18:35 UTC
[Nut-upsuser] Which credentials are used to logon to the upsset.cgi page?
Whenever I try to set a value like battery.charge.low using the Network UPS Tools upsset 2.4.3 cgi script, I get an error: Unexpected response: ERR ACCESS-DENIED I can not start a quick UPS test either. Which credentials are used to logon to the upsset.cgi page? I've tried... the username that I configured in upsd.users the root credentials adding a POSIX account & password to match the username configured in upsd.users giving the ups monitoring POSIX account a valid shell (now disabled) Have I misconfigured something or missed something in the docs? I'm getting the UPS statistics fine.
Arjen de Korte
2010-Oct-05 19:14 UTC
[Nut-upsuser] Which credentials are used to logon to the upsset.cgi page?
Citeren Richard <richard-nut op rain4us.net>:> Have I misconfigured something or missed something in the docs? I'm > getting the UPS statistics fine.First try doing the same through the 'upsrw' and 'upscmd' (commandline) commands. The user credentials should be as configured in 'upsd.users'. Since you're using nut-2.4.3, chances are it was configured with tcp-wrappers support. In that case, you'll also need to allow the user from 'upsd.users' access through whatever interface it uses to connect to the 'upsd' server. Eventually, the IP that runs 'upsset.cgi' should also be allowed in. Best regards, Arjen -- Please keep list traffic on the list (off-list replies will be rejected) ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.