> > One reason that my root terminal sessions have red backgrounds.
> > But, of course, not su'd sessions.
>
> My root sessions have yellow backgrounds but then again - not the
> su'd ones.
You can change the color of the prompt itself. I put this into my
.bashrc for root:
if test "$(tty | grep -c /dev/pts/)" != "0" ; then # if in X11
PS1="\[\033]0;ROOT IN \W\007\]\[\033[31m\]ROOT in \W * "
else # if in text mode, there is no title
PS1="\[\033[31m\]ROOT in \W * "
fi
This way the prompt shows up red and has ROOT in it.
I use another color if i am ssh'd into my user account on the 2nd
machine.
eric
--
Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org
____________________________________________________
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________