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: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 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=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 Reply-To: cygwin AT cygwin DOT com Message-ID: <826971991.20160316021322@yandex.ru> To: Warren Young , cygwin AT cygwin DOT com Subject: Re: Change PS1 when run as administrator In-Reply-To: <0F37E0B7-A313-49F2-BAFD-59A7A144BD8C@etr-usa.com> References: <28210846 DOT 20160315202354 AT yandex DOT ru> <87mvpz1ong DOT fsf AT Rainer DOT invalid> <0F37E0B7-A313-49F2-BAFD-59A7A144BD8C AT etr-usa DOT 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 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...