Back to roles list

sa-secure-audit-rkhunter

Build Status

Example of use: check box-example

Simple:

     - {
         role: "sa-secure-audit-rkhunter"
       }

Advanced:

tool will try to install mailutils, if they are not installed. To gain more control over your system, I would recommend configure system for mail sending in advance, rather than rely on defaults. sa-postfix is one of the possible roles, included in box-example

     - {
         role: "sa-postfix",
         tags: ["create", "update"]
       }
     - {
         role: "sa-secure-audit-rkhunter"
       }

Using rkhunter:

sudo rkhunter -c --sk

Idea for cronjob:

/usr/bin/rkhunter -c --cronjob 2>&1 | mail -s "RKhunter Scan Results" your@secure.email

Database update:

sudo rkhunter --update

Copyright and license

Code licensed under the BSD 3 clause or the MIT License.

Subscribe for roles updates at FB