[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] LionFind + Chkrootkit
- Subject: Re: [cobalt-users] LionFind + Chkrootkit
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Sat Jun 2 00:30:19 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"Gilles Dumangin" <gilles_dumangin@xxxxxxxxxxx> wrote:
> Is it possible to run automatically LionFind and Chkrookit everyday and
send
> a email message with the results to the administrator ?
Yes. Run them from a cron job. To see what cron jobs look like go to the
shell and type:
cat /etc/crontab
I suggest not touching the system cron files. Instead create a cron file
for user "root". Login as root and with your favorite editor creat a file
/root/cron_master and put lines in it like:
05 02 * * * . /path_to/lionfind
and then save it. The above line says to run lionfind at 2:05 AM everyday
and should email the results to you. If you didn't want the results emailed
to you the line would look like:
05 02 * * * . /path_to/lionfind
> /dev/null 2>&1
To reload root's cron file do:
crontab /root/cron_master
To verify it's loaded do:
crontab -l
or
cat /var/spool/cron/root
Type "man crontab" or search on google.com for "cron job" for more info.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/