On 06/12/2013 08:00 PM, Tim wrote:
John:
If using "su -" regularly
add this to /root/.bashrc to obtain the root prompt in red

PS1="\[\033[1;31m\][\u@\h:\w]$\[\033[0m\] "
Rejy M Cyriac:
That is a good tip ...but probably not for the colour-blind ;-)
Use inverse colours, then (black text on a coloured background).  Having
said that, I wanted to do that in the past, and it didn't seem to work.

+1

In gnome terminal I created the profile which did this... red translucent background and ran "su -" on opening new tab for that profile. Helps when you can easily have 8+ terminals going and need a quick color que as to your elevated login status. My background schemes tend to be white for local, black for remote (ssh etc), and red for any root.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to