dedicated server help
web hosting guides
dedicated server home dedicated server forums dedicated server reviews dedicated resources partners dedicated server resources contact dedicated servers

dedicated server guides
Getting Started
General Tutorials
cPanel Tutorials
Security Center
Name Servers
Server Monitoring
Server Backups
Hosting Interviews
Web Hosting News
Reviews
For Fun
Linux Tutorials
Hosting Articles
Web Hosting Tutorials
 
 
 
web hosting tutorials
About Us
RSS Feed
Disclaimer
Site Map

 

How To make chkrootkit e-mail you daily

Last Updated: November 30, 1999


Make chkrootkit e-mail you the scanned files log daily. This is a great way to maintain a secure server, just skim over the e-mail every day/night looking for root kit infections.


1. Login to your server as root. (SSH)

2. Load crontab
Type: crontab -e

3. Add this line to the top:
0 1 * * * (cd /path/to/chkrootkit; ./chkrootkit 2>&1 | mail -s "chkrootkit output" root)

This will run CHKROOTKIT at 1am every day, and e-mail the output to root.

If you are in PICO - CTRl-X, Y, Enter to save and exit

cpanel tutorials
cPanel Resources
Dedicated Servers