RKhunter linux
Install:
apt install rkhunter
Configure directory debian:
nano /etc/default/rkhunter
Set:
CRON_DAILY_RUN="true"
CRON_DB_UPDATE="true"
DB_UPDATE_EMAIL="false"
REPORT_EMAIL="martin.hasin@mhasin.local"
APT_AUTOGEN="true"
Set in:
nano /etc/rkhunter.conf
set:
UPDATE_MIRRORS=1
MIRRORS_MODE=0
MAIL-ON-WARNING=martin.hasin@mhasin.local
ALLOWDEVFILE=/dev/shm/PostgreSQL.*
ALLOWIPCPROC=/usr/sbin/apache2
WEB_CMD=""
XINETD_ALLOWED_SVC=/etc/xinetd.d/ftp_psa
XINETD_ALLOWED_SVC=/etc/xinetd.d/poppassd_psa
XINETD_ALLOWED_SVC=/etc/xinetd.d/smtp_psa
XINETD_ALLOWED_SVC=/etc/xinetd.d/smtps_psa
XINETD_ALLOWED_SVC=/etc/xinetd.d/submission_psa
XINETD_ALLOWED_SVC=/etc/xinetd.d/check_mk