> I'm sure someone is already doing this on the list,
> but I'm going to create a cronjob for chkrootkit and
> have it print out to a log on maybe a daily/weekly
> basis just to keep watch.

>From my crontab :)

0 3 * * * (cd /usr/sbin/chkrootkit; ./chkrootkit 2>&1 | grep -v "\.\.\.
\(not\|nothing\) \(found\|infected\|detected\)" | mail -s "chkrootkit
 output" root)

Strips out a lot of the lines that just say "nothings wrong" and leaves
the more interesting bits

-- 
Regards,
+-----------------------------+---------------------------------+
| Peter Kiem            .^.   | E-Mail    : <[EMAIL PROTECTED]> |
| Zordah IT             /V\   | Mobile    : +61 0414 724 766    |
|   IT Consultancy &  /(   )\ | WWW       : www.zordah.net      |
|   Internet Hosting   ^^-^^  | ICQ       : "Zordah" 866661     |
+-----------------------------+---------------------------------+





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to