Date: Sun, 16 Feb 2003 22:04:24 +0100 From: Kjell Midtseter <junkmail@sensewave.com> To: David Banning <david@skytracker.ca> Subject: Re: shell prompt question Message-ID: <20030216210424.GC174@tina.la3sg.net> In-Reply-To: <20030216152524.A14300@skytrackercanada.com> References: <20030216152524.A14300@skytrackercanada.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, 16 February 2003 at 15:25:24 -0500, David Banning wrote: > My normal prompt is; > > david $ > > and my superuser prompt is; > > # > > How do I get the super-user prompt when I just use the "su" command > rather than the full "su -" command? > > I want to stay in the same directory I am in sometimes but have su > authority. The problem is that my prompt doesn't change, so I forget > that I am su. > When you do a su the contents of your ~/.bash_profile should be read. While the contents of ~/.bashrc is ignored. Do you have a ~/.bash_profile ? Kjell > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030216210424.GC174>