From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3431 invoked by alias); 10 Apr 2014 01:50:30 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 2657 invoked by uid 89); 10 Apr 2014 01:50:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtpback.ht-systems.ru Received: from smtpback.ht-systems.ru (HELO smtpback.ht-systems.ru) (78.110.50.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 10 Apr 2014 01:50:20 +0000 Received: from [91.76.98.252] (helo=darkdragon.lan) by smtp.ht-systems.ru with esmtpa (Exim 4.80.1) (envelope-from ) id 1WY484-0004uF-An; Thu, 10 Apr 2014 05:50:12 +0400 Received: from [192.168.1.10] (HELO daemon2) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Thu, 10 Apr 2014 01:39:32 -0000 Date: Thu, 10 Apr 2014 01:50:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <1187249515.20140410053930@yandex.ru> To: Achim Gratz , cygwin@cygwin.com Subject: Re: [PATCH] base-files-4.2-1: Change prompt if running with admin rights In-Reply-To: <877g6ys69r.fsf@Rainer.invalid> References: <53458036.1010307@t-online.de> <877g6ys69r.fsf@Rainer.invalid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-04/txt/msg00229.txt.bz2 Greetings, Achim Gratz! > 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, But indirect. It does not guarantee, that a user have administrator rights, only that it has access to the specified registry key. > however I'm wondering why we shouldn't simply check via id (that's what > I'm doing personally at the moment). Unless there's a way to ask "if we're a part of " or more direct questions, it would involve much tinkering. And I agree, that all tinkering needs to go into personal profile. -- WBR, Andrey Repin (anrdaemon@yandex.ru) 10.04.2014, <04:31> Sorry for my terrible english... -- 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