salut Pierre-Yves,<br><br><div><span class="gmail_quote">2006/1/3, Pierre-Yves Aillet &lt;<a href="mailto:pierreyves.aillet@free.fr">pierreyves.aillet@free.fr</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>I would like to know if there is a mean to prevent the driver to drop<br>root privileges through config files ?<br><br>I have seen the possibility of passing -u root to the driver command<br>line. But I don't see how to use it with my rc-scripts without messing
<br>things badly.<br><br>I have also seen the RUN_AS_USER variable but it seems to apply only to the upsmon client.</blockquote><div><br>
&nbsp;I don't know why you want to do so, apart for debugging purpose, but it's really a bad idea.<br>
If it's to override an permissions problems, for example with udev, look at:<br>
</div></div>- that link for serial ports and udev:<br>
<a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=334105">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=334105</a><br>
<br>
- that ones for USB:<br>
<a href="http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/nut/scripts/hotplug-ng/Attic/?cvsroot=nut&amp;only_with_tag=Development">http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/nut/scripts/hotplug-ng/Attic/?cvsroot=nut&amp;only_with_tag=Development
</a><br>
<br>
Arnaud<br>-- <br>Linux / Unix Expert - MGE UPS SYSTEMS - R&amp;D Dpt<br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://people.debian.org/~aquette/">
http://people.debian.org/~aquette/</a><br>OpenSource Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a>