Date: Mon, 17 Feb 2003 10:46:24 -0500 From: David Banning <david@skytracker.ca> To: Giorgos Keramidas <keramida@ceid.upatras.gr> Cc: David Banning <david@skytracker.ca>, questions@FreeBSD.ORG Subject: Re: shell prompt question Message-ID: <20030217104624.D28552@skytrackercanada.com> In-Reply-To: <20030216214931.GB2106@gothmog.gr>; from keramida@ceid.upatras.gr on Sun, Feb 16, 2003 at 11:49:31PM %2B0200 References: <20030216152524.A14300@skytrackercanada.com> <20030216214931.GB2106@gothmog.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
> The way that the shell prompt is set depends on the particular shell. > What shell does your `david' user have? What shell does `root' have? they both use bash. > > > How do I get the super-user prompt when I just use the "su" command > > rather than the full "su -" command? > > The default behavior of su is to run an interactive, but not login, > shell AFAIK. How to set the prompt for interactive invocations of > your root user's shell depends on the shell. I took out my "PS1=david$" line in my .profile, and now I have it working again. My user shell is simply "bash-2.03$" and my su shell is "su-2.03#". Thanks for your help. 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?20030217104624.D28552>