<br><font size=2 face="sans-serif">It still runs as hobbit, it is just
that any script in init.d gets run as root by init.  So consequently
anything that needs to be run by a user such as hobbit, has its startup
script coded to do an su hobbit -c "blahblahblah". In other words,
hobbit still runs as hobbit but the startup script can be run as root.</font>
<br>
<br><font size=2 face="sans-serif">Anyway I think this discussion is dead.
:-)</font>
<br><font size=2 face="sans-serif"><br>
------------------------------------------------------------------------------<br>
David Peters<br>
<br>
+61 2 63913565<br>
+61 4 17863572<br>
------------------------------------------------------------------------------<br>
</font>
<br>
<br><tt><font size=2>Craig Cook <Craig.Cook@carquest.com> wrote on
09/06/2009 11:04:18 PM:<br>
<br>
> [image removed] </font></tt>
<br><tt><font size=2>> <br>
> RE: [hobbit] Hobbit startup script.</font></tt>
<br><tt><font size=2>> <br>
> Craig Cook </font></tt>
<br><tt><font size=2>> <br>
> to:</font></tt>
<br><tt><font size=2>> <br>
> 'hobbit@hswn.dk'</font></tt>
<br><tt><font size=2>> <br>
> 10/06/2009 12:33 AM</font></tt>
<br><tt><font size=2>> <br>
> Please respond to hobbit</font></tt>
<br><tt><font size=2>> <br>
> >Sorry I wasn't asking how to do it, just why the script has to
run as </font></tt>
<br><tt><font size=2>> >hobbit when you install out of the box.</font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> It’s a security thing.  It is not good
practice to run applications <br>
> as root.  If someone exploits a “let to be discovered” bug
in Xymon <br>
> they will not be able to crash it and become root.</font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> Craig</font></tt><br><br><table bgcolor=white style="color:black"><tr><td><br><br>
This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of their organisation.</td></tr></table>