> On Sep 23, 2017, at 4:52 AM, Renaud (Ron) OLGIATI 
> <ren...@olgiati-in-paraguay.org> wrote:
> 
> On Fri, 22 Sep 2017 23:35:37 -0700
> Rick Moen <r...@linuxmafia.com> wrote:
> 
>> What a pity there isn't a visual indicator that you are weilding root
>> authority like, I don't know, maybe the bash shell prompt ending
>> character changing from "$" to "#".
>> 
>> It could work.  Somebody should try it, some time.
> 
> I run xfce-console with five tabs open; two logged-in as user, the sprompts 
> are black; one logged in as root, the prompt is red; two others logged in as 
> root on remote boxes, their prompts are green and blue.
> 
> It is simple enough to change PS1='\n\[\033[1;34m\]\u@\h:\w \$ \[\033[0m\]' 
> in the various .ashrc to the colour you want/need.
> 
> Been using that for years, never had a problem. 

This is a good solution, and one I’ve used from time to time, myself.   I wish 
it were the default out of the box on more systems.

jf
-- 
John Franklin
frank...@tux.org



_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to