linuxjournal.com — A useful thing that some distros have started doing is setting the color of your shell prompt differently if you're logged in as root. This gives you an additional visual cue that helps avoid doing things as root when you don't want to. If your distro doesn't do this for you, you can accomplish it by changing your .bashrc files.
Apr 14, 2008 View in Crawl 4
philluminatiApr 15, 2008
Where the f**k did my comment go? I hit edit and got a "your comment doesn't exist" error message.What it said was that distros have been doing this for at least 10 years. This is something that even UNIX users used to do.If you log into Gnome with the root account you normally get a red desktop background as well so, looking across the office it's obvious you've left yourself logged in (or someone is using the root account).Here's a recent discussion on Reddit about what PS1 values people have and why they do it. <a class="user" href="http://reddit.com/info/697cu/comments/">http://reddit.com/info/697cu/comments/</a>