This must have been fixed in one of the early updates. I did the initial
5.0 install at GenRad at Christmas time and installed the updates as they
appeared. I almost never used the GenRad machines as other than root,
since they are just performing as mail-gateway & DNS machines. I loaded 5.0
on my home machine a bit later and mostly use that one as an ordinary user.
Again, I installed all the updates. Neither my home machine nor the GenRad
machines get "." in the PATH either for root or for 'normal' users.
OK... I just checked... /bin/login on my home and work machines is 'owned'
by package util-linux-2.7-15.i386.rpm while the CD contains the older
package /util-linux-2.7-11.i386.rpm. Presumably this PATH problem was one
of the fixes.
By the way... It's a good idea to install all the errata fixes,
particularly if your machine is exposed to the Internet. On a second
home machine, I had a BIND breakin overnight between the time I installed
from the CD and the time I installed all the errata, including the BIND
fix for the well publicized security hole.
pete
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
+1-978-589-7478 (GenRad); +1-978-256-5829 (Home: Chelmsford, MA)
+1-978-589-2088 (Closest FAX); +1-978-589-7007 (Main GenRad FAX)
> Date: Sat, 30 May 1998 16:39:44 -0400 (EDT)
> From: William T Wilson <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: "." appears by default in PATH (was Re: Scripts...)
>
> On Sat, 30 May 1998, Pete Peterson wrote:
>
> > First of all, RH5.0, as distributed and updated, doesn't include "." in
> > any user's PATH by default, even if you load "everything". This means
>
> The Red Hat 5.0 login program adds . to the path before passing it on to
> the scripts, that is why you can't find it in the scripts anywhere. :)
> Maybe there has been an update to fix that, but I didn't know about it.
> (I use my own login program).
>
> > 2. You can *REMOVE* "." from the PATH *AFTER* the fact, f'rinstance:
> > export PATH=`echo $PATH | sed -e 's/^\.://' -e 's/:\.$//' -e 's/:\.:/:/'`
>
> Sux, don't it. :)
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.