Re: [Nagios-devel] coredumps
Posted: Thu Dec 06, 2007 6:23 am
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.
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]