X-Recipient: archive-cygwin AT delorie DOT 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 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 AT cygwin DOT com Subject: Re: [PATCH] base-files-4.0.6: Change prompt if running with admin rights References: <4D964392 DOT 6080809 AT t-online DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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