I have added the watchdog extension (rkhunter 1.4.4) to get more security on my server.
Alas the output contains a lot of information which obfuscates the real issues thus making it likely to miss something important.
On the help page it says that option --rwo can show warnings only.
Q1: Can I set this anywhere with plesk so that the output I get only shows the issues ?
If I run rkhunter -c --rwo I still get the output shown below which I would want to accept as safe.
Q2: Is there a way to make these warnings disappear?
I have enabled service monitoring and it always shows spamassassin is not running.
If I check with systemctl status spamassassin everything seems to be ok.
Q3: is this a bug?
Warning: The file '/etc/passwd' exists on the system, but it is not present in the 'rkhunter.dat' file.
sure it needs to exist so why isn't it in the rkhunter.dat file?
Warning: Package manager verification has failed:
File: /opt/psa/etc/modules/watchdog/rkhunter.conf
The file hash value has changed
Warning: The file properties have changed:
File: /opt/psa/etc/modules/watchdog/rkhunter.conf
Current file modification time: 1528262348 (06-Jun-2018 07:19:08)
Stored file modification time : 1528094196 (04-Jun-2018 08:36:36)
of course it has changed as I set the mail address via the GUI.
I have run rkhunter --propupd but no change.
Warning: The following suspicious shared memory segments have been found:
Process: PID: 512 Owner: magicspam
Process: /usr/sbin/apache2 PID: 4317 Owner: root
Process: PID: 697 Owner: magicspam
Process: PID: 697 Owner: magicspam
Warning: Found enabled xinetd service: /etc/xinetd.d/ftp_psa
Warning: Found enabled xinetd service: /etc/xinetd.d/poppassd_psa
how can I whitelist these services?
Warning: No output found from the lsmod command or the /proc/modules file:
/proc/modules output:
lsmod output:
Warning: Suspicious file types found in /dev:
/dev/shm/sem.ms_rl_watchdog_lock: data
I am running in a vserver host so I think those warnings can be ignored.
Alas the output contains a lot of information which obfuscates the real issues thus making it likely to miss something important.
On the help page it says that option --rwo can show warnings only.
Q1: Can I set this anywhere with plesk so that the output I get only shows the issues ?
If I run rkhunter -c --rwo I still get the output shown below which I would want to accept as safe.
Q2: Is there a way to make these warnings disappear?
I have enabled service monitoring and it always shows spamassassin is not running.
If I check with systemctl status spamassassin everything seems to be ok.
Q3: is this a bug?
Warning: The file '/etc/passwd' exists on the system, but it is not present in the 'rkhunter.dat' file.
sure it needs to exist so why isn't it in the rkhunter.dat file?
Warning: Package manager verification has failed:
File: /opt/psa/etc/modules/watchdog/rkhunter.conf
The file hash value has changed
Warning: The file properties have changed:
File: /opt/psa/etc/modules/watchdog/rkhunter.conf
Current file modification time: 1528262348 (06-Jun-2018 07:19:08)
Stored file modification time : 1528094196 (04-Jun-2018 08:36:36)
of course it has changed as I set the mail address via the GUI.
I have run rkhunter --propupd but no change.
Warning: The following suspicious shared memory segments have been found:
Process: PID: 512 Owner: magicspam
Process: /usr/sbin/apache2 PID: 4317 Owner: root
Process: PID: 697 Owner: magicspam
Process: PID: 697 Owner: magicspam
Warning: Found enabled xinetd service: /etc/xinetd.d/ftp_psa
Warning: Found enabled xinetd service: /etc/xinetd.d/poppassd_psa
how can I whitelist these services?
Warning: No output found from the lsmod command or the /proc/modules file:
/proc/modules output:
lsmod output:
Warning: Suspicious file types found in /dev:
/dev/shm/sem.ms_rl_watchdog_lock: data
I am running in a vserver host so I think those warnings can be ignored.