Changing my prompt

Kerry Hoath kerry at
Mon May 8 23:25:17 EDT 2000

If you change the superuser prompt in .profile then the prompt won't change
when you su to root. If you change the prompt in .bashrc for root,
your root prompt will change as expected. I can explain more if that is unclear
Regards, Kerry.
On Mon, May 08, 2000 at 12:34:24PM -0500, Kirk Wood wrote:
> > And here is where I got bitten.
> > There is a difference between .bashrc and .profile. .bashrc is executed for all
> > shells, .profile is executed for login shells only.
> i wouldn't think that the prompt would matter for non-login shells. Am I
> mistaken?
> > It gets worse: .profile was the old default however the new default under
> > Debian at least is .bash_profile and .profile is no longer sourced if
> > .bash_profile exists. In summary check that bash manpage.
> This is only true if a person is running bash isn't it? I know that most
> people run bash, and we often take that for granted. But since it is
> possible that someone isn't running bash, I hate to leave that possibilty
> out. The .bash_profile was somethign I wasn't aware of. But otherwise my
> understanding is that .profile is normally processed regardless of the
> shell that is chosen (other then the previously mentioned exception).
> Kirk
> _______________________________________________
> Speakup mailing list
> Speakup at

Kerry Hoath: kerry at
Alternates: kerry at kerry at or khoath at
ICQ UIN: 8226547

More information about the Speakup mailing list