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

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



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.

--Evan

-- 
Evan Van Dyke                                  E-mail: evandy@netcom.com
Page: 15442232@pager.mirabilis.com             ICQ#: 15442232
DNRC's Minister of Lost Internet Packets.       O-
Amateur Radio Call Sign:  KB8PVE
       "Quoth the Raven...  'Nevermore!'" --Edgar Allen Poe
       "I'll bet that all you can do is watch the ball bounce around the
screen.
                                          --Dilbert to Management


Reply to: