X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; q=dns; s=default; b=WDuph 009IhfqCkd/0YG6RdCNcsS0cEKwqT9tcWk5il9j6b9TsUyM0fCEkCXH3VY9cQ3I6 8/peq2cwq82+ISbDrmiZwyjax0ovg4dyIrQ6CIIolvA+CZTo37QzrbyyrK6CGiY7 whohHBqjEJatx71YZarZOysl0gkKCAZtzr236g= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; s=default; bh=r2wQU2b0H4H 1UJFn36mvZ2KBsXg=; b=xkypwARfhHI91qrGwQcXKMYh7KmkuYQ24JyNORLAaOw XaNJQ0yZ28Iw6Egw/vpMp7LpSuvrjZBPLssw+5k9HDQDJ5lAJZacv1DU1ErO+4nj 3MMVw31feapBV0ZDl+RPIykjkexVeczQwBLCTlk8ioYPUThCXz9V66nmx9h/KUJk = 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-in-10.arcor-online.net X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-07.arcor-online.net 7F534107AFA From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: [PATCH] base-files-4.2-1: Change prompt if running with admin rights References: <53458036 DOT 1010307 AT t-online DOT de> Date: Wed, 09 Apr 2014 20:32:32 +0200 In-Reply-To: <53458036.1010307@t-online.de> (Christian Franke's message of "Wed, 09 Apr 2014 19:15:34 +0200") Message-ID: <877g6ys69r.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Christian Franke writes: > Attached is an updated version of: > https://sourceware.org/ml/cygwin/2012-02/msg00806.html I'll put this on hold until the AD integration has landed in Cygwin (which will require some larger changes anyway). Generally I'd prefer to move such things that depend on personal preferences like setting up prompts into profile.d where they are easier to change and maintain independently from core system functionality. Using the registry to check for administrative privileges is clever, however I'm wondering why we shouldn't simply check via id (that's what I'm doing personally at the moment). Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables -- 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