Heute (25.07.2007/21:20 Uhr) schrieb John Horne, >> > Change to:
> /usr/local/bin/rkhunter --versioncheck --nocolors > /usr/local/bin/rkhunter --update --nocolors > > Alternatively just combine it into one command: > /usr/local/bin/rkhunter --versioncheck --update --cronjob --rwo > If you really only want warnings and nothing else, then you could use: > /usr/local/bin/rkhunter --versioncheck -q > /usr/local/bin/rkhunter --update -q > /usr/local/bin/rkhunter --cronjob --rwo > You can, if you want, check the return code when '-q' is used to see if > everything went okay. > John. New: #!/bin/sh ( /usr/local/bin/rkhunter --versioncheck --nocolors /usr/local/bin/rkhunter --update --nocolors /usr/local/bin/rkhunter --cronjob --rwo ) | /usr/bin/mail -s 'rkhunter Daily Run' root Ok. Done. Now getting: Checking rkhunter data files... Checking file mirrors.dat[34C[ No update ] Checking file programs_bad.dat[29C[ No update ] Checking file backdoorports.dat[28C[ No update ] Checking file suspscan.dat[33C[ No update ] Checking file i18n/cn[38C[ No update ] Checking file i18n/en[38C[ No update ] take a look at the quadrats AND on the shell I see: server2:/etc/cron.daily# ./rkhunter /usr/local/bin/rkhunter: line 6000: [: -eq: unary operator expected /usr/local/bin/rkhunter: line 6000: [: -eq: unary operator expected /usr/local/bin/rkhunter: line 6000: [: -eq: unary operator expected /usr/local/bin/rkhunter: line 6000: [: -eq: unary operator expected my rkhunter.conf (OS Debian Etch) ROTATE_MIRRORS=1 UPDATE_MIRRORS=1 MIRRORS_MODE=0 LANGUAGE=en LOGFILE=/var/log/rkhunter/rkhunter.log APPEND_LOG=1 COLOR_SET2=0 AUTO_X_DETECT=1 ALLOW_SSH_ROOT_USER=yes ALLOW_SSH_PROT_V1=0 DISABLE_TESTS="hidden_procs deleted_files" SCAN_MODE_DEV=THOROUGH SUSPSCAN_DIRS=/tmp:/var/tmp SUSPSCAN_TEMP=/ramtmp SUSPSCAN_MAXSIZE=1024000 SUSPSCAN_THRESH=300 INSTALLDIR=/usr/local DBDIR=/var/lib/rkhunter/db SCRIPTDIR=/usr/local/lib/rkhunter/scripts TMPDIR=/var/lib/rkhunter/tmp -- Viele Gruesse, Kind regards, Jim Knuth [EMAIL PROTECTED] ICQ #277289867 ---------- Zufalls-Zitat ---------- Jede Dummheit findet einen, der sie macht. (Tennessee Williams, am. Schriftsteller, 1911-1983) ---------- Der Text hat nichts mit dem Empfaenger der Mail zu tun ---------- Virus free. Checked by NOD32 Version 2420 Build 10406 25.07.2007 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Rkhunter-users mailing list Rkhunter-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkhunter-users