Rkhunter: Difference between revisions

From James's Wiki
No edit summary
No edit summary
Line 19: Line 19:
run this after making changes to the config file
run this after making changes to the config file


check if the config file is valid:
sudo rkhunter -C
update so you dont get a warning the the config file was changed:
  rkhunter --propupd
  rkhunter --propupd



Revision as of 15:29, 18 February 2018

download source form site

https://sourceforge.net/projects/rkhunter/files/latest/download?source=typ_redirect

tar zxf rkhunter-1.4.4.tar.gz
cd rkhunter-1.4.4/

sudo ./installer.sh --install



By default, the log file '/var/log/rkhunter.log' will be created. It will contain the results of the checks made by RKH.


run this after making changes to the config file

check if the config file is valid:

sudo rkhunter -C

update so you dont get a warning the the config file was changed:

rkhunter --propupd


the cronjob

#run rkhunter at 1am
00 01 * * * /usr/bin/rkhunter --cronjob --update --quiet