Re: Cron & Tripwire

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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~
 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux