Thank you very much. I had to use your shell script.
--- Ernest E Vogelsinger <[EMAIL PROTECTED]> skrev: > At 03:06 21.10.2002, linux power said: > --------------------[snip]-------------------- > >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? > --------------------[snip]-------------------- > > You need to run /etc/tripwire/twinstall.sh which > will install the necessary > tripwire database, pgp keys, etc. > > In case your tripwire cron entry is still missing, > create a file > /etc/cron.daily/tripwire-check: > > #!/bin/sh > ### ------------------------ > ### tripwire-check > ### ------------------------ > 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 > ### ------------------------ > ### end tripwire-check > ### ------------------------ > > > >O Ernest E. Vogelsinger > (\) ICQ# 13394035 > ^ > > > > -- > redhat-list mailing list > unsubscribe > mailto:redhat-list-request@;redhat.com?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list ===== http://home.no.net/~knutove/knut_ove_hauge_kuren.htm ______________________________________________________ Se den nye Yahoo! Mail på http://no.yahoo.com/ Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list