[Nagios-devel] wrong usage 'su' for debian

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] wrong usage 'su' for debian

Post by Guest »

Hi all,

* please note that I am not a member of this list, please cc me in replies *

In /etc/init.d/nagios, for the nagios-1.0 and earlier, there is a line
saying
su -l -c
Using debian (and I guess some more distros to), This is wrong. The command
should be specified as:
su -c

I don't know if there is a special script for each distro / variant and
maybe this should belong to the packaging script (is there any for debian?).


Grtz,

Wim Fournier
wim@hsmade.[com|net|org]







This post was automatically imported from historical nagios-devel mailing list archives
Original poster: wim@hsmade.com
Locked