Bug#657103: rkhunter: Invalid BINDIR configuration option: Invalid directory found: ~/bin

Jesse Molina jesse at opendreams.net
Tue Jan 24 09:07:03 UTC 2012


Hi

Shell is bash 4.2-1.

If you want debug output, tell me explicitly what you want.  Normally I 
like a good mystery, but I do not have the time right now.



Julien Valroff wrote:
> This indeed shouldn't happen as $PATH should only be used when BINDIR
> configuration option doesn't exist.
>
> What is your default shell? I'm surprised it leaves ~/bin in $PATH - it
> should be automagically changed to an absolute path.
>
> % grep PATH ~/.zshrc
> ## PATH definition
> [ -d ~/scripts ]&&  PATH=$PATH:~/scripts
> [ -d ~/bin ]&&  PATH=$PATH:~/bin
>
> % echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/julien/scripts:/home/julien/bin
>
> rkhunter then complains as it only accepts bin directories beginning with /
> to avoid any relative paths being used.

-- 
# Jesse Molina
# Mail = jesse at opendreams.net
# Page = page-jesse at opendreams.net
# Cell = 1.602.323.7608
# Web  = http://www.opendreams.net/jesse/







More information about the forensics-devel mailing list