|
|
Change the appearance for the root account
i never use root to login into my system initially, but quiet often i change to root in the terminal via sudo su. to know and be aware that i am root, i did this:
Change the appearance for the root account
This is very helpful. I have always wished I could make the Terminal background a different color when I su to root, but I don't think that is possible, and the red text is hard to miss. It feels weird to me to have a '$' instead of '#' in the prompt, though.
Change the appearance for the root account
That's easy enough to fix, though; just change the "$" to "\$" (only works in bash, not tcsh); the shell will automagically change the '$' to '#' for the root shell. Or, since the outlined procedure explicitly creates/changes the root .bashrc (and not your personal .bashrc), just use a '#' instead of a '$' in the PS1 variable declaration to begin with.
Change the appearance-->TCSH
If you use TCSH put this line at the top of your root account's .tcshrc file: |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.07 seconds |
|