[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monit environment PATH

From: Jan-Henrik Haukeland
Subject: Re: Monit environment PATH
Date: Tue, 19 Apr 2005 14:26:48 +0200

On Apr 18, 2005, at 19:15, Yiwen Jiang wrote:

Is there any reason why monit will not use the PATH variable defined in the
shell environment for superuser?

This is for security reasons. The same is the case for many system tools such as e.g. crontab

Does any one have any suggestions on how to get around this, so that monit
can take the environment PATH variable from the shell instead?

It's probably debatable but you can, at the top of the script source in .bashrc or the resource that sets the PATH on localhost.

Jan-Henrik Haukeland
Mobil +47 97141255

reply via email to

[Prev in Thread] Current Thread [Next in Thread]