comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: test name clash on unix. was: GNAT 301a with Win95
Date: 1996/06/29
Date: 1996-06-29T00:00:00+00:00	[thread overview]
Message-ID: <dewar.836066565@schonberg> (raw)
In-Reply-To: nhspbergdo.fsf_-_@paralysys


Nasser said

"Yes, good suggestions. Also one can add "." to the $path (edit
the .cshrc or .profile etc..) , make "." be the first in the path,
and when one invokes test, the shell will first look in . which is
the default current directory and use your "test" program , not the
one in /usr/bin ."

First, this does not work, at least in many systems, because test is
a shell command, not the name of something in /usr/bin, and thus
takes precedence over the path.

Second, putting . at the start of your path is not a good idea. In many
Unix environments, this practice is forbidden. The reason is that it is
a security risk, you can pick up unintended replacements for standard
system stuff this way, and a number of penetrations of Unix systems have
used this trick to get illicit information.





  reply	other threads:[~1996-06-29  0:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-18  0:00 GNAT 301a with Win95 Darrin
1996-06-19  0:00 ` David Hopkins
1996-06-21  0:00   ` Robert Dewar
1996-06-19  0:00 ` Tom Griest
1996-06-20  0:00 ` Theodore E. Dennison
1996-06-21  0:00   ` Vadim Epmak
1996-06-23  0:00     ` Robert Dewar
1996-06-24  0:00     ` Theodore E. Dennison
1996-06-25  0:00     ` Walter B. Hollman Sr.
1996-06-21  0:00   ` Robert Dewar
1996-06-29  0:00 ` test name clash on unix. was: " Nasser Abbasi
1996-06-29  0:00   ` Robert Dewar [this message]
1996-06-29  0:00   ` Richard Kenner
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox