Cron & Tripwire
CodeHeads
ch at code-heads.com
Tue Nov 29 00:47:59 UTC 2005
On Mon, 2005-11-28 at 16:58 -0500, Scot L. Harris wrote:
> Why are you not using the cron script that comes with the package? It
> should have been installed in /etc/cron.daily as tripwire-check.
>
> The contents of the file should be something similar to:
>
> #!/bin/sh
> HOST_NAME=`uname -n`
> if [ ! -e /var/lib/tripwire/${HOST_NAME}.twd ] ; then
> echo "**** Error: Tripwire database for ${HOST_NAME} not
> found. ****"
> echo "**** Run "/etc/tripwire/twinstall.sh" and/or "tripwire
> --init". ****"
> else
> test -f /etc/tripwire/tw.cfg && /usr/sbin/tripwire --check
> fi
>
>
>
I wanted to see if I could do something else instead. But it looks like
I am going to use the script that comes tripwire. I set cron to fire it
off in 15 minutes to make sure it works.
Thanks for all you guys help.
~WILL~
More information about the fedora-list
mailing list