[Nut-upsuser] Making the driver keeping root privileges

Carlos Rodrigues carlos.efr at mail.telepac.pt
Tue Jan 3 02:44:32 UTC 2006


On 1/3/06, Pierre-Yves Aillet <pierreyves.aillet at free.fr> wrote:
> Hello,
>
> I would like to know if there is a mean to prevent the driver to drop
> root privileges through config files ?
>
> I have seen the possibility of passing -u root to the driver command
> line. But I don't see how to use it with my rc-scripts without messing
> things badly.
>
> I have also seen the RUN_AS_USER variable but it seems to apply only to
> the upsmon client.

Maybe using the global "user = root" in "ups.conf".

--
Carlos Rodrigues



More information about the Nut-upsuser mailing list