Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[CentOS][RKHunter][HowTo] Change RKHunter report email (Daily Run, Warnings found)
Droid Offline
Android Developer
*******

Postări: 43
29
Alăturat: Dec 2011
Reputație: 0
Aprecieri acordate: 1
Primit 73 aprecier(i) în 17 post(ări)
#1
[CentOS][RKHunter][HowTo] Change RKHunter report email (Daily Run, Warnings found)
Scan reports

The default email address RKHunter uses for scan reports ("rkhunter Daily Run on ...") is "root@localhost".

If you want to change it to something else, you have to edit the file:

Cod:
/etc/sysconfig/rkhunter


and change the value of "MAILTO" to the new email address that should receive scan reports.

Cod:
MAILTO=root@localhost


Warnings reports

To set the email address that should receive the warning reports (" [rkhunter] Warnings found for ...") you have to edit the file:

Cod:
/etc/rkhunter.conf


And change the value of

Cod:
MAIL-ON-WARNING=me@mydomain   root@mydomain


Reference: The Rootkit Hunter project

28-04-2014, 08:04 AM




User(s) browsing this thread: 1 Guest(s)