How to install Rkhunter (RootKit Hunter)?

Collapse

Unconfigured Ad Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • John_Accuwebhosting
    Senior Member
    • Jun 2006
    • 120

    How to install Rkhunter (RootKit Hunter)?

    Rkhunter is a very useful security scanning tool that is used to scan for trojans, local exploits and other security problems on linuxserver. It is a cron job that scans your server for security problems.

    You can install rootkit using following steps :

    1. Login to your server via SSH as root.
    cd /usr/local/src/
    2. Download latest RKHunter Version [1.3.2]
    wget rkhunter.1.3.2.tar.gz
    3. Extract files
    tar -xzvf rkhunter-1.3.2.tar.gz
    cd rkhunter-1.3.2
    ./installer.sh
    4. Setup cron for RKHunter to e-mail you daily scan reports.
    pico /etc/cron.daily/rkhunter.sh
    Add The Following Lines:
    #!/bin/bash
    /usr/local/bin/rkhunter --update && /usr/local/bin/rkhunter -c --cronjob 2>&1 | mail -s "RKhunter Scan Details" support@accuwebhosting.com
    (Replace the e-mail above with your e-mail.)

    Type: chmod 700 /etc/cron.daily/rkhunter.sh

    Accuwebhosting.com
    Last edited by admin; 08-21-2015, 12:31 PM.
    John D.
    Support Technician,
    accuwebhosting.com
    Windows based hosting
    Linux based hosting
Working...
X