oxfordmusic.net wrote:
RH9 i'm getting this error when running chkrootkit-0.42b from cron (it runs
fine
from shell):
Checking `wted'... ./chkrootkit: line 2469: 26860 Segmentation fault ./chkwtmp -f ${WTMP}
any ideas?
cheers
andy
From cron where?
from root's crontab: [root root] crontab -l 03 0,12 * * * cd /usr/local/sbin; ./chkrootkit 2>&1 | mail -s "chkrootkit output" myuser
cheers
andy
Well, root is indeed where you'd need to run it to make it work. I was just checking :)
What I'd suggest is making a bash script file with the above commands, then running that script from the command line first, then cron.
The error is not happening within your cron commands, I know, it looks like it's happening within chkrootkit, but maybe a clean bash environment is better for the redirection you're doing.
That's all I can suggest, sorry.
Regards, Ed.
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list