Install chkrootkit

At command prompt, type:

yum install chkrootkit

Then create the file:

nano /etc/cron.monthly/chkrootkit.sh

You can add the following cronjob:

#!/bin/bash
(cd /usr/lib/chkrootkit-0.49/; ./chkrootkit 2>&1 -q | mail -s "chkrootkit (Corp)" [email protected])

Hit CTRL+X press y and then enter to save the file.

chmod +x /etc/cron.monthly/chkrootkit.sh

Author: Christopher Smith

I managed websites.

Leave a Reply

Your email address will not be published. Required fields are marked *