-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 20 October 2002 09:06 pm, linux power wrote:
> How to start tripwire from cron.daily?
> I've just installed tripwire but it does not
> appear in cron.daily.
> How do I apply that?

Did you install tripwire via an rpm package?
If so, it should be in /etc/cron.daily/tripwire-check

rpm -qf /etc/cron.daily/tripwire-check
tripwire-2.3.1-5

Here is the file from one of my machines. (Red Hat 7.2)
(Watch the line wrap)
cat /etc/cron.daily/tripwire-check

#!/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

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3} in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9s1srn/07WoAb/SsRAtnkAKCX5+fNhSWUgLbTDBHaqxkGRt/50QCgn4D3
GhW/vQS6t5WrwElYTXXPLVY=
=4Pzc
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to