Re: [Nagios-devel] Nagios init script

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

Re: [Nagios-devel] Nagios init script

Post by Guest »

On Tue, 2004-09-14 at 19:42 +0200, Horvath Tamas wrote:
> I installed Nagios 1.1 in two machines, and upgarded each of them to
> 1.2. In every case the /etc/init.d/nagios script contains the "su -l
> $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav" line under start)
> section. It starts nagios with an error message: "su invalid option --
> l". It is true, because I read the man page and the help of su, but
> there is no "l".
> I use Debian Woody 3.1. What does this l mean? Can I simply delete it,
> or should I substitute it with other parameter?

-l just denotes what user you're changing to (or acting as).

So, "su -l bob" means "change to user bob"

Change it to whatever is appropriate for your version of su.







This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked