Instalar RKHUNTER - Foro Support - Manuales tecnicos

Announcement

Collapse
No announcement yet.

Instalar RKHUNTER

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Instalar RKHUNTER

    Instalar RKHUNTER


    INSTALAR

    Code:
    wget http://downloads.sourceforge.net/project/rkhunter/rkhunter/1.4.2/rkhunter-1.4.2.tar.gz
    tar -zxvf rkhunter-1.4.2.tar.gz
    cd rkhunter-1.4.2
    ./installer.sh --layout default  --install
    ACTUALIZAR

    rkhunter --propupd
    rkhunter --update
    SCANEAR

    /usr/local/bin/rkhunter -c
    SCANEAR DIARIAMENTE EN AUTOMATICO
    nano /etc/cron.daily/rkhunter.sh
    #Agregar la siguiente linea y modificar el email

    #!/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 Scan Report (TUHOSTNAME)' TUCORREO@aqui.com
    #Grabar y asignar permisos de ejecucion
    chmod +x /etc/cron.daily/rkhunter.sh



    Desinstalar

    rm -Rf /usr/local/bin/rkhunter
    rm -Rf /usr/local/etc/rkhunter.conf
    rm -Rf /usr/local/rkhunter
    Last edited by soporte; 04-06-2015, 08:18 PM.
Working...
X