On Sat, 2009-07-11 at 08:47 -0400, Tom Twaro wrote:
> I run this rkhunter script nightly:
> 
> #!/bin/sh
> ( /usr/local/bin/rkhunter --cronjob --update --rwo && echo "" ) |
> /bin/mail -s "[rkhunter] Daily run on centos1.thetwaros.com" root
> exit 0
> 
> -------
> 
> I get this error every time:
> 
> Warning: Checking for prerequisites               [ Warning ]
>           All file hash checks will be skipped because:
>               The current hash function () or package manager (Unset) is
> incompatible with the hash function (Unset) or package manager (Unset)
> used to store the values.
> 
> One or more warnings have been found while checking the system.
> Please check the log file (/var/log/rkhunter.log)
> 
> -------
> 
> How do I resolve this error? What is it really looking for?
> 
It's looking for one of two things:
1) a hash function command like md5sum or sha1sum; or
2) a configured package manager name in your config file, like RPM.

Your cron job shows 'centos' so I assume you are using CentOS, which
should then have the md5sum/sha1sum commands available by default.

Have you changed the default rkhunter config file (/etc/rkhunter.conf)
at all? And if so how? If not, then the log file (/var/log/rkhunter.log)
may well show where the problem lies. In particular, are the
md5sum/sha1sum commands in roots PATH?

If you want you can send me the log file, and config file, and I'll take
a look. The alternative is to run 
    rkhunter --debug --enable properties --nolog
which will create an 'rkhunter-debug...' file in /tmp. It may well be
large, so do not send to the list, but you can send it to me if you
want.



John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 587287
E-mail: john.ho...@plymouth.ac.uk       Fax: +44 (0)1752 587001

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Rkhunter-users mailing list
Rkhunter-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkhunter-users

Reply via email to