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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

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

Reply via email to