Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <Mutt.19970127092959.peter@orac.hw.nl>
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
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



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