On Sat, 2009-12-05 at 10:12 -0500, Tanstaafl wrote: > On 12/4/2009 1:44 PM, Mike McCarty wrote: > > Tanstaafl wrote: > >> Ok, I tried adding the --nocolor option to the options set in the cron > >> job and reran it, but still got the same output: > > > > [...] > > > > That's odd. > >> What you see are the escape sequences to control color. > >> It worked for me with just --nocolor. > > > It's actually --nocolors plural - hope I didn't muck you up there... > > I meant to ask about that too. I tried --nocolors first, but had the > same result, then noticed that the comments said this: > > # Default options - more options may be added depending on the > # configuration variables you set below > # --cronjob implies -c, --nocolor, --sk > RKHUNTER_OPTS="--nocolor --cronjob --summary" > > --nocolor was singular... so this was a typo by the gentoo rkhunter > maintainer? > > > I just installed 1.3.6, so I can't check with 1.3.4 any more, > > but ISTR that there was no problem with that with 1.3.4. Could > > you post your crontab entry? > Okay, two points here:
1) It does not matter whether you use '--nocolor', '--nocolors', or even '--no-color', or '--no-colors'. They all do the same thing and are all understood by RKH. If RKH didn't understand an option then it would say so and not run. 2) The 'funny characters' in your output are coming from running 'rkhunter --update'. This has nothing to do with the cronjob option. You need to get your maintainer to add the '--nocolors' option to that part of the system cron job which runs 'rkhunter --update'. He/she probably has a system cron job set up something like: RKHUNTER_OPTS="--nocolor --cronjob --summary" rkhunter --update rkhunter $RKHUNTER_OPTS You need to change the second line to 'rkhunter --update --nocolors'. John. -- John Horne, University of Plymouth, UK Tel: +44 (0)1752 587287 Fax: +44 (0)1752 587001 ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Rkhunter-users mailing list Rkhunter-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkhunter-users