portaudit in periodic

Cristian KLEIN cristi at net.utcluj.ro
Mon Dec 17 16:46:31 PST 2007


Andrea Venturoli wrote:
> Cristian KLEIN ha scritto:
> 
>> I used to have problem with cron scripts, because cron uses another
>> PATH then
>> what the script gets if it's run from the shell. Could you try the
>> following
>> (assuming sh):
>>
>> export SHELL=/bin/sh
>> export PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
>> export HOME=/var/log
>> periodic daily
>>
>>
> 
> Sorry if I reply this late: I tried something similar in crontab and let
> it test for a while, but nothing changed.
> I'm really out of ideas here. :-(

But have you tried running these commands from the shell? It is very important
to check the scripts with the above SHELL & PATH environment. If the above works
from the shell, I'm pretty much out of ideas too.




More information about the freebsd-questions mailing list