cron or ipfw problem!
Ion-Mihai Tetcu
itetcu at apropo.ro
Sat Feb 21 05:02:41 PST 2004
On Sat, 21 Feb 2004 15:51:16 +0300
"Marwan Sultan" <Admin at kifco.net> 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.
--
IOnut
Unregistered ;) FreeBSD user
More information about the freebsd-questions
mailing list