On Wed, 2010-08-11 at 12:41 -0700, Jonny Kent wrote: > > But that aside as it is not the point, the real point is that there > seems to be a bug in that I should be able to say to not check any of > those directories and rkhunter shiould still at least run, even with > BINDIR="" > RKH will run if BINDIR is "", and that is the default provided (i.e. BINDIR is undefined). What happens then is that RKH uses the root PATH to locate where commands are.
The BINDIR option is provided to allow you to add in additional directories if necessary (Sun systems are a good one for that, although RKH will automatically add some in), or allow you to re-order the directory paths so that certain commands are found before others of the same name (again Sun are a good example of this - using /usr/xpg4 or /opt/bin before the main command directories). > > Note that says "command directories to be checked"...however if I > add /bin to that > BINDIR="/bin /usr/sbin" > it works again. It seems like a bug to me that if I want to check only > say /usr/local/libexec then that breaks rkhunter. > rkhunter should not IMO be using that setting to determine where awk > is. > This is how RKH works, and what it is designed to do. It will check certain commands and locate them using BINDIR (or PATH). You have no control over that other than as described above. Why would you not what RKH to check commands? That is what it does. If you really want to specify exactly should be checked, and what shouldn't, then maybe something like Aide or Tripwire would be more suitable. John. -- John Horne, University of Plymouth, UK Tel: +44 (0)1752 587287 Fax: +44 (0)1752 587001 ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Rkhunter-users mailing list Rkhunter-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkhunter-users