Hi,
On Mon, Feb 17, 2003 at 10:46:24AM -0500, David Banning wrote:
> > 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.

/root/.bashrc f.e. is parsed if you start an interactive shell, like 'su'.
Define your PS1 variable in this file if you want to customize it and read
the bash manpage, its written there.

cheers,
        tom

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to