[PATCH] base-files-4.0.6: Change prompt if running with admin rights

Christian Franke Christian.Franke@t-online.de
Mon Apr 25 11:32:00 GMT 2011


On 2011-04-01, Christian Franke wrote:
> The attached patch for /etc/profile and /etc/bash.bashrc sets a root 
> prompt ('#' instead of '$' or '%') if the shell runs with admin rights 
> (local or domain admin group).
>

Any comment so far? Wrong list ?

If this patch is not accepted:
Would it be possible to change /etc/profile such that PS1 is set before 
/etc/profile.d scripts are run?
This would allow to change the prompt in a local /etc/profile.d script. 
This worked with the old base-files 3.9

Thanks,
Christian


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list