Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 1997 10:00:02 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        chuckr@Glue.umd.edu (Chuck Robey)
Cc:        eagriff@global2000.net (Eric A. Griff), current@freebsd.org
Subject:   Re: Can't get `.' off of root's path
Message-ID:  <Mutt.19970128100002.j@uriah.heep.sax.de>
In-Reply-To: <Pine.OSF.3.95q.970127235829.2592A-100000@uplink.eng.umd.edu>; from Chuck Robey on Jan 28, 1997 00:02:57 -0500
References:  <Pine.BSF.3.95.970127234742.5690A-100000@global2000.net> <Pine.OSF.3.95q.970127235829.2592A-100000@uplink.eng.umd.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
As Chuck Robey wrote:

>   In both cases, su
> complains about relative components in the path, whether they are there or
> not.  I'm going to check the su code.

No need.  Either 1) turn on your brain first :-))) (and think about
the sequence, and about which PATH su(1) can examine at all), or 2) go
back and re-read my followup in this thread.

Finally, you'll end up with either removing the dot from the PATH of
the invoking user (_NOT_ of the _invoked_ user!), or you gotta live
with the warning (or you hack su to no longer warn you...).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970128100002.j>