From owner-freebsd-questions Tue Dec 17 21:45:54 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id VAA18265 for questions-outgoing; Tue, 17 Dec 1996 21:45:54 -0800 (PST) Received: from python.shoal.net.au (root@python.shoal.net.au [203.26.44.5]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id VAA18254 for ; Tue, 17 Dec 1996 21:45:50 -0800 (PST) Received: from grfpc1 (monty-port6.shoal.net.au [203.26.44.16]) by python.shoal.net.au (8.7.4/8.7.3) with SMTP id QAA00344; Wed, 18 Dec 1996 16:47:53 +1100 (EST) Message-ID: <32B792A9.50ED@shoal.net.au> Date: Wed, 18 Dec 1996 16:43:53 +1000 From: Andrew Perry X-Mailer: Mozilla 2.02Gold (Win95; I) MIME-Version: 1.0 To: Hans N Gruber CC: questions@freebsd.org Subject: Re: su warning References: <19961217.200533.7999.0.hounddog@juno.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I thought bash just used .profile or .login, i'm not sure of the syntax as i use ksh. btw, where did you get bash for FreeBSD from? and how did you insatall it? Your path may contain sections that don't start with a "/", which it will interpret as being relative to your current directory. Check your .profile .login files. i'll post this to the list as well so hopefully someone will correct me if i'm wrong! good luck @ merry christmas Andrew Perry andrew@shoal.net.au Hans N Gruber wrote: > > Switching to root via su I get the following warning: > Warning: Imported Path Contains Relative Components. > I didn't change anything in my path that I know of and I can't find > anything that looks relative to me. What does this mean? > Thanks, Dave > P.S. While I'm at it...to get my Bash prompt to display current working > directory what is the proper syntax? I've tried everything I've found so > far. It is my understanding from reading the man pages that I should > create a .bash_login (as opposed to .bashrc) but I cannot get the promt > working.