RFC: root/non-root bash prompts different colours?
Nick Bargnesi
nbargnesi at gmail.com
Wed Dec 8 17:53:15 UTC 2004
On Wed, 8 Dec 2004 12:42:03 -0500, Alan Cox <alan at redhat.com> wrote:
> On Wed, Dec 08, 2004 at 12:13:19PM -0500, Richard June wrote:
> > > Alan
> > Wow, that's ugly for both users and root.
> > why not set root's foreground to blink?
>
> Not all terminal devices support blink 8)
Ever had too much coffee and tried staring at a blinking prompt?
Yet another option would just be to alter PS1 to display something like:
-- WARNING - LOGGED IN AS ROOT --
[root at machine root]#
Might look obtrusive but it gets the point across to the color blind
administrators and feature-less terminals.
>
>
>
> --
> fedora-devel-list mailing list
> fedora-devel-list at redhat.com
> http://www.redhat.com/mailman/listinfo/fedora-devel-list
>
--
Nick Bargnesi
http://www.den-4.com
Den 4 Software
pub 1024D/E8BD2FD0 2004-12-02 Nick Bargnesi <nbargnesi at gmail.com>
Key fingerprint = 6F9D 9404 63CD 2B04 DE7A 0F9D A1ED C1B0 E8BD 2FD0
sub 2048g/56C5D45B 2004-12-02
More information about the fedora-devel-list
mailing list