[CentOS] format level 3 prompt

Wed Nov 18 15:25:48 UTC 2009
m.roth at 5-cent.us <m.roth at 5-cent.us>

> On Tue, 17 Nov 2009 22:11:55 -0800, John R Pierce wrote:
>
>> Mike - email ignored wrote:
>>> How do I format the prompt at level 3?  One of my accounts has it
>>> right, but not the other. I guessed that it was in .tcshrc which was
>>> missing from the bad account so I copied it from the good account, but
>>> it made no difference.
>>>
>>>
>> depends on what shell you're using....   bash uses $HOME/.bash_profile
>
> Its bash.  Following from .bash_profile to .bashrc to /etc/bashrc,
> and noting that at level 3, $TERM=linux, I should be calling
> /etc/sysconfig/bash-prompt-default, if I have one, which I don't.
>
> But root gets it right, and myUser gets it wrong.
>
>    cd; grep -i .*
>
> shows only the .tcshrc which I should have realized is not the one.
> So how is root getting it right?

Ah! Permission/ownership problem?

      mark