RFC: root/non-root bash prompts different colours?

Jonathan Andrews jon at jonshouse.co.uk
Thu Dec 9 01:40:23 UTC 2004


On Thu, 2004-12-09 at 01:11, Rahul Sundaram wrote:
> Hi
> 
>  We all know that root's prompt
> > starts with '[root'
> > and ends with ']# ', users' prompt starts with their
> > username and
> > ends with ']$ ' already. I wonder why do you want to
> > "differentiate
> > root/non-root bash prompts" even more? 
> 
> 
> as explained earlier the nature of fedora attracts
> newbies who need to understand that using root always
> is a dangerous practise. even administrators would
> like a more visual? enhancement.
> 
> as long as it works, is not annoying and actually
> helpful I dont see any reason why you should complain.

Some of us more cautious people use terminals with different backgrounds
to identify different computers, so changing the default colour for for
root prompts using ansi would break that setup. My dangerous machine
(one in a rack I have to drive 200 miles to get to) already has a red
background on the xterm, so red text as default would be no text at
all!!  Its a minor point, but I suspect other have similar setups.... If
people want to play with colours how about changing the dark blue colour
in 'ls' to one that people can read like cyan, i'm yet to find a
computer I could read that text on yet - Its only the dark blue, but it
would save starting a session with 'unalias ls' every time I login to a
redhat box :-|   ....    

Cheers,
Jon





More information about the fedora-devel-list mailing list