From owner-freebsd-current Mon Jan 27 00:31:53 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA25871 for current-outgoing; Mon, 27 Jan 1997 00:31:53 -0800 (PST) Received: from empire.hw.nl (empire.hw.nl [194.151.67.8]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA25865 for ; Mon, 27 Jan 1997 00:31:47 -0800 (PST) Received: from orac.hw.nl (orac.hw.nl [192.168.2.7]) by empire.hw.nl (8.8.5/1.00) with ESMTP id JAA29556; Mon, 27 Jan 1997 09:30:34 +0100 (MET) Received: by orac.hw.nl id JAA28222; Mon, 27 Jan 1997 09:30:00 +0100 (MET) Message-ID: Date: Mon, 27 Jan 1997 09:29:59 +0100 From: peter@hw.nl (Peter Korsten) 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.57 Mime-Version: 1.0 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 Randy DuCharme shared with us: > > 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. If I change root's shell to bash or sh, it's > fine, and if I `su' to root, it's fine. I can't find where this is > being picked up but it definitely behaves like `.' is on the path. Does root have a csh/tcsh as a login shell? If yes, did you check /etc/csh.cshrc and /etc/csh.login? They're executed first. > What's even worse... if I do an... > > echo $PATH > > dot isn't there. No idea about that. Not even at the very end? - Peter -- Peter Korsten | peter@hw.nl | http://www.hw.nl/~peter/ Haesenbos, Wetzels & Van der Heijden Multimedia Support 'Never EVER mess with a jumper you don't know about, even if it's labeled "sex and free beer".' -Dave Haynie, Amiga developer