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

Re: Why can't I execute a script??



On Thu, 22 Oct 1998, Evan Van Dyke wrote:

> Peter S Galbraith wrote:
> > If some user is capable of putting a fake `ls' in a random directory where
> > you might trip on it, that user is far more likely to put it in your ~/bin
> > directory!  (Same privileges are required)
> > 
> > Just a thought.
> 
> Just make the . directory the _last_ part of your path, that way it will
> search /bin /usr/bin /usr/local/bin and
> all the rest of your path first.

As pointed out before, this does not catch misspellings of common
commands, such as 'sl'.

                       Michael Beattie (mickyb@es.co.nz)

               PGP Key available, reply with "pgpkey" as subject.
 -----------------------------------------------------------------------------
                   I've got places to go... People to annoy.
 -----------------------------------------------------------------------------
                Debian GNU/Linux....  Ooohh You are missing out!



Reply to: