Am 28.03.2012 22:20, schrieb Mark Haney: > The only real issue there is I'm usually running multiple consoles and I don't always pay enough attention to keep > track of which console is running root. If I use sudo I know that I can't do anything stupid in a console that > will trash the system. I may blow up my own crap, but that's why we have backups. And that's why sudo is much > safer to use than logging in as root, at least from the command line. the promt in linux supports colors since long ago which is smarter than guess by error messages that it was a root command happily with not enough permissions /root/.basrhc (red prompt): PS1="\[\033[1;31m\][\u@\h:\w]$\[\033[0m\] " ~/.bashrc (green prompt) PS1="\[\033[1;32m\][\u@\h:\w]$\[\033[0m\] " ______________________________ i use the follwoing schema since many years RED: root on production servers ORANGE: root on my machines YELOW: root on backup.machines GREEN: my user LIGHTBLUE: buildusers DARKBLUE: vm hosts no, i have no good documentation, i googled around for colors i searched :-)
Attachment:
signature.asc
Description: OpenPGP digital signature
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx 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