Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Tripwire and cron

14 views
Skip to first unread message

Larry Thomas

unread,
Aug 17, 2000, 3:00:00 AM8/17/00
to linux-s...@redhat.com
I am trying to get tripwire 1.2 patch level 2 on Redhat 6.2 to run out
of cron and so far have failed miserably.
It runs fine from the command line so I know my configuration is ok, but
when it runs from cron it gets to Phase 3 and simply exits. It doesn't
generate any error messages or leave any core files laying around.


_______________________________________________
Linux-security mailing list
Linux-s...@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-security

Jack Lloyd

unread,
Aug 19, 2000, 3:00:00 AM8/19/00
to Larry Thomas
On Wed, 16 Aug 2000, Larry Thomas wrote:

Might I recommend AIDE (http://www.cs.tut.fi/~rammer/aide.html)? A fully
GPLed replacement. RMS would be pleased!

Here's the script I use to run aide from cron (in /etc/cron.daily/).
Probably this can be changed to run tripwire easily (though I don't know
how).

---- CUT ----
#!/bin/sh
/usr/local/bin/aide --check | (cat <<EOF
Output of AIDE:

EOF
cat
) | /bin/mail -s "File integrity report" root
---- CUT ----

I should probably fix this so that no mail is send if aide doesn't print
anything, but I'm basically a very lazy person, so I haven't yet.

This script has worked perfectly for me on several machines over the last
6 months or so.

Good Luck,

Jack

Kevin Lau

unread,
Aug 19, 2000, 3:00:00 AM8/19/00
to Larry Thomas
you may need to use full path in the cron job.

kevin

0 new messages