Hi Mats

Mats Erik Andersson schrieb:
> Dear Beringians,
> 
..

> 
>    3) Possibly incorrect path to 'pidof'. Corrective steps:
> 
>       First check the location present location
> 
>       # which pidof
>       /sbin/pidof

If pidof is _not_ in your path, you won't find it with 'which'. So this
would be rather futile.

What is the reason to use absolute command paths anyway? If you want to
be sure a command is executed from a certain location, put it at the
beginning of your path variable. Protect your system against tampering
if you want to be sure noone inserted a bad command. Restrict your PATH
variable.

If pidof had not been used with the absolute path we would not have had
a problem at all.

OTOH why did the path change at all?

my 0.02

cheers

Erich

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to