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
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
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
3 matches
Mail list logo