coredumps

Andrew Ivanov a.ivanov at e-port.ru
Thu Dec 6 15:23:10 CET 2007


Andreas Ericsson wrote: 
> > 
> > I think it's a mistake. Nagios drops privileges if ran by root.
> 
> Yes, but it doesn't *need* root, so you can have it drop privs before
> even starting.

It's true, but misc examples run nagios directly by root, not doing 'su'.

> > Keeping in mind example above (HOME==/root), one might 
> conclude that code
> > is inconsistent, and will never work without manual intervention.
> > 
> 
> I know. I wrote that code in order to be able to run nagios
> in a debugging
> setup. I'm not complaining about changing it, I'm just very 
> reluctant about
> not having a quick and easy way to override a setting that 
> only root can
> change, and especially so when the option I want to override 
> only has impact
> on debugging. Hence my suggestion to make this a config 
> variable, preferrably
> overridable with a command-line option.

Well, there is different ways to solve the question.
Let it be your way, as long as it allows us to dump cores :-)
And it would be great to see some docs about right way to do it,
because it will eliminate mail threads like this one :-))

With best regards,
Andrew.


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4




More information about the Developers mailing list