[Nut-upsdev] Tripp-Lite SU2200XLA problem

Charles Lepple clepple at gmail.com
Wed Mar 10 00:14:59 UTC 2010


On Mar 9, 2010, at 5:54 PM, Kelvin Ku wrote:

> However, if I try to run usbhid-ups as user "nut", I get:
>
> $ sudo -u nut ./usbhid-ups -a usb
[...]
> Whereas if I run it as root:
>
> $ sudo ./usbhid-ups -a usb -u root

Did you pass "--with-user=nut" to ./configure?

If so, you should be able to test with just "sudo ./usbhid-ups -a  
usb" (use sudo for root access, and let the driver setuid() to "nut".)

For the upsd issue, check your state path and pid paths (also options  
to ./configure).



More information about the Nut-upsdev mailing list