From owner-freebsd-current Mon Jan 27 00:54:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA26570 for current-outgoing; Mon, 27 Jan 1997 00:54:49 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id AAA26565 for ; Mon, 27 Jan 1997 00:54:44 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA01083; Mon, 27 Jan 1997 09:54:38 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id JAA10671; Mon, 27 Jan 1997 09:18:18 +0100 (MET) Message-ID: 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 References: <32EC203D.41C67EA6@nconnect.net> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <32EC203D.41C67EA6@nconnect.net>; from Randy DuCharme on Jan 26, 1997 21:25:49 -0600 Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. ;-)