X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0	tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
Message-ID: <4DB45230.4080106@t-online.de>
Date: Sun, 24 Apr 2011 18:39:12 +0200
From: Christian Franke <Christian.Franke@t-online.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.17) Gecko/20110123 SeaMonkey/2.0.12
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [PATCH] base-files-4.0.6: Change prompt if running with admin rights
References: <4D964392.6080809@t-online.de>
In-Reply-To: <4D964392.6080809@t-online.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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

