search for: do_upsconf_arg

Displaying 1 result from an estimated 1 matches for "do_upsconf_arg".

Did you mean: do_upsconf_args
2014 Oct 01
3
Return on experience with an Emerson/Liebert GXT3
...n't work out of the box due to setuid issues (the program runs as nobody). As we can read in the man upsdrvctl : "This [the setuid user] may be set in ups.conf with "user" in the global section." This is also suggested in the Q.6 of the faq. However, the drivers/upsdrvctl.c do_upsconf_args function do not handle "user" global declaration (at least in the git repository, i haven't checked the debian patches). So i think that either the manual or the implementation is broken. As a workaround i added an UPSDRVCTL_OPTIONS to the /etc/init.d/nut-server scripts and set UP...