[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: stuff in ~/bin won't run



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?

  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.)

Steve
-- 


Reply to: