How To make chkrootkit e-mail you daily

Make chkrootkit e-mail you logs daily.


How To make chkrootkit e-mail you daily



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

Facebook Comments

More Stuff

COMODO acquires Positive Software Corporation Igor Seletskiy writes : Jersey City, NJ - January 24, 2005 - Comodo Inc., the leader in secure Internet technologies, has acquired Positive Software ...
Install C, C++ Compiler and Development (build-essential) Tools in... Most Linux system administrators and engineers are required to know some basic programming to help them in their daily tasks. If they want to go one s...
Instagram’s Crackdown on Fake Followers Just Might Work Instagram Monday said it would again crack down on users who pursue “inauthentic activity” to boost an account’s popularity. Within hours, BlackHatWor...
Top 5 Object Oriented Programming and Design Courses for Programme... Overloading vs Overriding in OOP There is no doubt that object-oriented programming is a pillar of software development and also one of the reasons ...
Spread the love