On Sat, 21 Feb 2004 15:51:16 +0300
"Marwan Sultan" <[EMAIL PROTECTED]> wrote:
> Hello everyone,
> Thank you for the answers,
> True, I didnot use the full path for ipfw in my script.
> when I added to the script /sbin/ipfw RULE_HERE everything works
> great. I thought it will regonize the command ipfw by it self. well
> it didnot :)
> Thank you again marty, nathan, Ion and all this list helpful users.
Always use full paths in scripts. If you need to make it more portable
define a variable on the beginning, e.g. MY_SCRIPT_BASE='/some/where/'.
You will be amazed how many local attacks or pilot errors could
happened because of relaying on PATH.
Unregistered ;) FreeBSD user
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"