Sorry for slow reply.
-->echo $PATH
~/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
-->egrep PATH= .bash*
.bash_profile:PATH="/usr/local/sbin:/usr/sbin:/sbin:${PATH}"
.bash_profile: PATH="~/bin:${PATH}"
-->sudo rkhunter --propupd
Invalid BINDIR configuration option: Invalid directory found: ~/bin
[~]
-->PATH="/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
[~]
-->sudo rkhunter --propupd
[ Rootkit Hunter version 1.3.8 ]
^C[~]
-->PATH="~/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
[~]
-->sudo rkhunter --propupd
Invalid BINDIR configuration option: Invalid directory found: ~/bin
The question as to why BINDIR in the config file is being ignored remains.
-->egrep "^BINDIR" /etc/rkhunter.conf
BINDIR="/bin /usr/bin /sbin /usr/sbin /usr/local/bin /usr/local/sbin
/usr/libexec /usr/local/libexec"
Julien Valroff wrote:
How do you define your $PATH?
Make sure you do not use ' which would prevent ~/ from being expanded to
/home/username/
PATH=$PATH:~/bin
is enough
The rkhunter warning is actually normal as it doesn't accept any directory
in $PATH or $BINDIR which doesn't begin with / - which is a safe way to
avoid relative paths.
--
# Jesse Molina
# Mail = je...@opendreams.net
# Page = page-je...@opendreams.net
# Cell = 1.602.323.7608
# Web = http://www.opendreams.net/jesse/
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org