Install and Run Rootkit Hunter

Install and Run Rootkit Hunter

How can I run Rootkit Hunter every day?

You can create a cronjob script like this:

=========== /etc/cron.daily/rkhunter ====================
#!/bin/sh
(
/usr/local/bin/rkhunter –versioncheck
/usr/local/bin/rkhunter –update
/usr/local/bin/rkhunter –cronjob –report-warnings-only
) | /bin/mail -s ‘rkhunter Daily Run’ root
================================================== =======

You must be at ver 1.2.8 to use the report warnings only funtion.

How do I install Rootkit Hunter?

Download the gzipped tarball, extract it and run the installation script.

download:

# wget http://downloads.rootkit.nl/rkhunter-1.2.8.tar.gz

Note: It doesn’t matter where you save the tarball

extract:

# tar zxf rkhunter-1.2.8.tar.gz

installation:

# cd rkhunter

# ./installer.sh

Visit the WHUK website for more news, knowledge base articles, blog posts and information on our wide range of hosting services.

Sharing

Pin It on Pinterest

Share This