[ale] bash script error

James P. Kinney III jkinney at localnetsolutions.com
Mon Mar 19 08:49:04 EDT 2007


check your environment and see if LANG=C or if there is a
LANG=en_US.UTF-8 (or other UTF text format). I have found many perl CPAN
modules have gobs of problems unless I set LANG=C.

Also, doublecheck the download. When I get, I have an install script
(install.sh) and to run it it's just a call to rkhunter -c .

On Mon, 2007-03-19 at 08:15 -0400, Paul Cartwright wrote:
> I forgot that I upgraded to my new PC in December, and I forgot about 
> rootkithunter.
> so I downloaded it and tried to run the script they show on the web site.
> 
> when i run it I get this, and I'm not sure why or how to fix it:
> 
> # sh -x dorootkithunter
> + /usr/local/bin/rkhunter $'\342\200\223\342\200\223versioncheck'
> + /bin/mail $'\342\200\223s' $'\342\200\231rkhunter' $'output\342\200\231' pbc
> ?s contains invalid character '\342'
> ?rkhunter contains invalid character '\342'
> output? contains invalid character '\342'
> + /usr/local/bin/rkhunter $'\342\200\223\342\200\223update'
> + /usr/local/bin/rkhunter $'\342\200\223\342\200\223cronjob' 
> $'\342\200\223\342\200\223report-warnings-only'
> 
> 
> cat dorootkithunter
> 
> #!/bin/sh
> (
> /usr/local/bin/rkhunter ??versioncheck
> /usr/local/bin/rkhunter ??update
> /usr/local/bin/rkhunter ??cronjob ??report-warnings-only
> ) | /bin/mail ?s ?rkhunter output? pbc
> 
> 
> what does it all mean???
> 
-- 
James P. Kinney III          
CEO & Director of Engineering 
Local Net Solutions,LLC        
770-493-8244                    
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list