Hi Frank,

I have a cronjob like this (just without the cron option) :

######### /etc/cron.daily/rkhunter

#!/bin/sh

# source our config
. /etc/default/rkhunter

if [ ! -x $RKHUNTER ]; then
  exit 0
fi

($RKHUNTER --versioncheck --update --check -sk --nocolors $RK_OPT) | mail -s
'Rootkit hunter (server-name.de)' $REPORT_EMAIL
#########

This gives you not the logfile, but it is enough information for me, just to
now the job was running and everything is ok.

Cheers,
Oliver


2008/7/4 Frank Murphy <[EMAIL PROTECTED]>:

>  Run as a cron job (implies -c, --sk and --nocolors options)
>
> How can update this to mail the whole log to "root"
> not just "warning, please check machine x"
>
> Frank
>
>
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Rkhunter-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rkhunter-users
>



-- 

http://www.kurmis.com
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Rkhunter-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rkhunter-users

Reply via email to