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).
_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev