Hello, list user

I'm using rkhunter  for monitoring that included by rootkit to our server.
Currently, implementing the following commands regularly.
===
#!/bin/bash

HOSTNAME=`hostname -s`
/usr/local/bin/rkhunter --versioncheck -q
/usr/local/bin/rkhunter --update -q
(
echo "HOST:${HOSTNAME}"
echo "----------------"
/usr/local/bin/rkhunter -c --report-warnings-only
) | /bin/mail -s "[RootKitHunter] ${HOSTNAME}" root
===

As a result, now have received notification by e-mail "warning" .
I want to receive which is not "[ Warning ]" message, but "[ Bad ]" message.

how to achieve this?


Best regards, 


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Rkhunter-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rkhunter-users

Reply via email to