Re: stuff in ~/bin won't run
2009/1/13 Steve Kemp <firstname.lastname@example.org>:
> On Tue Jan 13, 2009 at 21:08:02 +0200, Dotan Cohen wrote:
>> Why is that dangerous? Because if your account is compromised then
>> critical system programs (ls, cd, and the like) can be easily replaced
>> with compromised versions. Putting your own bin at the end of the path
>> is meant to thwart this.
> If your account is compromised then why do you imagine your
> settings will be untouched?
Exactly, this is the fallacy.
> People typically put their ~/bin directory first, precisely
> so that they can override system-wide commands.
> As for why it didn't work - the OP seemed to have said:
> PATH = ...
> (ie. Spaces around the equals sign. This will not work.)
I gave him an example of a valid .bash_profile file.