Re: GLIBC_2.4
On Thu, Nov 01, 2007 at 06:54:54 -0500, Ron Johnson wrote:
[...]
> If $(HOME)/bin were first in your $PATH, then a malicious user or
> app that has write access to your account, then they could put
> sabotaged versions of common apps into $(HOME)/bin and do all sorts
> of nasty things to you.
>
> But then, I just noticed that somehow $(HOME)/bin is the first entry
> in *my* $PATH!!! Must find out how that happened...
~/.bash_profile does this by default nowadays:
# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
fi
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
Reply to: