[Nut-upsuser] user upsd not found
Manuel Wolfshant
wolfy at nobugconsulting.ro
Sat Feb 5 01:35:04 GMT 2022
On 2/5/22 03:22, Timur Tabi wrote:
> I'm trying to debug why NUT can't communicate with my UPS, so I run
> this command
>
> # upsdrvctl -t -u upsd -DDDD start
>
> and get this output:
>
> ...
>
> 0.000804 Starting UPS: ups
> 0.000875 3 remaining attempts
> 0.000924 exec: /lib/nut/apcsmart -a ups -u upsd
>
> So I run "/lib/nut/apcsmart -a ups -u upsd" and get this:
>
> # /lib/nut/apcsmart -a ups -u upsd
> Network UPS Tools - APC Smart protocol driver 3.1 (2.7.4)
> APC command table version 3.1
> user upsd not found
>
> There is a 'nut' userid, but not a 'upsd' userid. Is this a bug?
YOU used "-u upsd" in the command line.
-u username
If starting a driver, this value will direct it to setuid(2)
to the user id associated with username.
More information about the Nut-upsuser
mailing list