X-Recipient: archive-cygwin@delorie.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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=SIofkU5NKTKM4kX9
	e61IYKyW4a8uTaaGIclQcAI+TQXBwN1EOIxTjo+xm/3LvdLzJfZQy+nrSphKG9lJ
	vUW6jIdDwnPjmJinUEiD/91dJZosavJnneNMCOq2/DwzhtpX4Eb1cz62xzMsj+1b
	6uP8byb0lL0vTx2RhBdf/xL8Nu4=
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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=I60bSjbjgX8rkOSjo5POaQ
	2lPcA=; b=AWF3Ae1sgiqIeFlSmCUlLq64wYd2LfxH4yWDYQLPA18GtyCrgmmXNQ
	CVmydx+MzzFVwpaoyyzCr2IVBRYngsRI343ddJ89ApbjSqKoU6xbRAfKBJPCGXc8
	IFEzYBBQ41+De+KIhl63D6uMdqrUdVcvErpFcmLvdz1mDxVUZFlCY=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.4 required=5.0 tests=AWL,BAYES_60,FREEMAIL_FROM,KAM_THEBAT,MIME_BASE64_BLANKS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, H*r:sk:postmas, H*r:4.80.1
X-HELO: smtp.ht-systems.ru
Date: Wed, 16 Mar 2016 02:13:22 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <826971991.20160316021322@yandex.ru>
To: Warren Young <wyml@etr-usa.com>, cygwin@cygwin.com
Subject: Re: Change PS1 when run as administrator
In-Reply-To: <0F37E0B7-A313-49F2-BAFD-59A7A144BD8C@etr-usa.com>
References: <F7CDFE45-BFA7-4599-B510-B40BCA19142F@etr-usa.com>   <28210846.20160315202354@yandex.ru> <87mvpz1ong.fsf@Rainer.invalid>  <0F37E0B7-A313-49F2-BAFD-59A7A144BD8C@etr-usa.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id u2FNKhqT003937

Greetings, Warren Young!

> On Mar 15, 2016, at 2:17 PM, Achim Gratz <Stromeko@nexgo.de> wrote:
>> 
>> Andrey Repin writes:
>>>    test $group -eq 114 && { x="#"; break; }
>> 
>> Nope, that group membership isn't associated with real administrative
>> powers.

> Confirmed, at least on Win10 64-bit without any AD mucking things up.  That
> is, I get both 114 and 544 here, so I don’t need the 114 rule at all.

I vaguely recall there was an issue with Microsoft accounts vs. true local accs.
Either way, both indicate that you have local administrator privileges,
doesn't hurt to have both.
Thanks for color suggestion, I'll grab it, if you don't mind.


-- 
With best regards,
Andrey Repin
Wednesday, March 16, 2016 02:11:30

Sorry for my terrible english...

