On Friday 12 December 2003 4:01 pm, Michael Havens wrote:
> On Friday 12 December 2003 03:43 pm, Kyle Faber said:
> ~ So what would happen? If ./ was in the root user's path, it would
> execute ~ this script instead of the traditional ls, thereby deleting
> everything in ~ root's directory, then printing the appropriate ls
> information. Root could ~ possibly be none the wiser.
>
> It took a couple of minutes to absorb what you said there but it sank i=
n.
> Were you suppossed to put the ./ (as in the ./ls example) when UNIX wa=
s
> originally written?
>
=09Since ls is located in /bin/ and that directory is generally a 'protec=
ted'=20
directory, the code contained in /bin/ is assumed safe and /bin is contai=
ned=20
in the default executable path for users.
--=20
Kyle Faber
Account Manager
EMR Internet
kyle@emr.net
623-581-0842 voice
623-582-9499 fax
UNIX is a registered trademark of The Open Group in the United States and=
=20
other countries.