The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[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

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.