On Tue, 2011-03-15 at 21:31 +0900, [email protected] wrote: > 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? > > Generally you can't. The only way you could do this is to modify the language file. However, that file may be overwritten in the future when running 'rkhunter --update'.
John. -- John Horne, University of Plymouth, UK Tel: +44 (0)1752 587287 Fax: +44 (0)1752 587001 ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Rkhunter-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rkhunter-users
