Re: chaning root prompt PS1 question

2003-12-08 Thread H. S.
Todd Pytel wrote: I suspect that root's prompt is being set somewhere and being read in after /etc/profile, overwriting PS1. Perhaps in /root/.bashrc or /root/.bash_profile? Yes, /root/.bashrc was it. Thanks a ton. ->HS -- (Remove all underscores,_if any_, from my email address to get the corre

Re: chaning root prompt PS1 question

2003-12-07 Thread Todd Pytel
On Mon, 08 Dec 2003 00:57:25 -0500 "H. S." <[EMAIL PROTECTED]> wrote: > I have tried to find on the web how to change my root prompt. I tried > setting the PS1 in /etc/profile but it seems that is not read when I > do "su -" to change to root. No, it is read: timaeus:~$ su timaeus:/home/tppyte

chaning root prompt PS1 question

2003-12-07 Thread H. S.
Hi, I have tried to find on the web how to change my root prompt. I tried setting the PS1 in /etc/profile but it seems that is not read when I do "su -" to change to root. But if I do "source /etc/profile" as root, I get my changes prompt, but then I loose the root environment. (BTW, setting P