Results 1 to 3 of 3
-
01-06-2006, 10:40 PM #1WHT Addict
- Join Date
- Sep 2005
- Posts
- 145
How to run Chkrootkit @ specific time
Hello
How can I make a automated system scan and email to me @ specific time (let's say 3PM )
I found this script
#!/bin/bash
cd /yourinstallpath/chkrootkit-0.42b/
./chkrootkit | mail -s "Daily chkrootkit from Servername" admin@youremail.com
-
01-07-2006, 01:27 AM #2WHT Addict
- Join Date
- Sep 2005
- Posts
- 145
oops , misktake, this should be in Technical & Security Issues section
Mod help plz
-
01-07-2006, 01:48 AM #3Web Hosting Master
- Join Date
- Aug 2002
- Location
- here
- Posts
- 1,566
Set a cron job to
0 7 * * * (cd /path/to/chkrootkit; ./chkrootkit 2>&1 | mail -s "chkrootkit output" you@yoursite.com)Dave