Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 1997 09:18:18 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        randyd@nconnect.net (Randy DuCharme)
Cc:        current@FreeBSD.ORG
Subject:   Re: Can't get `.' off of root's path
Message-ID:  <Mutt.19970127091818.j@uriah.heep.sax.de>
In-Reply-To: <32EC203D.41C67EA6@nconnect.net>; from Randy DuCharme on Jan 26, 1997 21:25:49 -0600
References:  <32EC203D.41C67EA6@nconnect.net>

next in thread | previous in thread | raw e-mail | index | archive | help

As Randy DuCharme wrote:

> This is driving me berserk!  I've taken every `path' statement out
> of root's startup files and I still keep getting ....
> 
>    Warning: Imported path contains relative components.
> 
> whenever I log in as root.

Yes, that's because the _imported_ PATH contains relative elements.
The message is spit out by su(1), hence the new shell is not yet in
effect.  su(1) simply doesn't know whether the PATH will be okay after
starting the root shell (i.e., whether root's .cshrc will be smart
enough).

You need to take out the relative component out of the current user's
PATH, or you gotta live with the warning.

-- 
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.19970127091818.j>