[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
RE: Re: Asterisk line in/out cards
On Fri, 2004-05-28 at 10:02, Ian Davidson wrote:
> Hi
>
> So in Linux even when you are in the directory you can not run a file
> unless it is in the path - Takes note, sure this will be needed again.
>
This is a security feature of Linux (and all other flavours of Unix).
Consider yourself a systems administrator of the box. Somebody tells you
that there is a problem with their home directory. You "cd" into
that
directory and the first thing you will run is "ls" (same as dir
in DOS).
If the user has a file called "ls" in their home dir and the
current
directory is at the beginning of PATH then you have just run his
"ls"
script as root. If his script contained "rm -rf /" for example
you'd be
in trouble.
MUCH better to explicitly enter the path to the executable yourself.
RJ
UKHA_D Main Index |
UKHA_D Thread Index |
UKHA_D Home |
Archives Home
|