delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/31/18:07:38

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:to:message-id:subject
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=Ofd0yUWHse8rmF7RWHIQva21EiB3v70ke7guK+kLmgLzwCw80fneF
itHUJ9B7BhipOodY1CfmmP9BGlGY94IxXl5s8Fm3lOn0X4gf1tB+9mJbia2QlqqV
lCkoyKjIxF80pRomkFZzSR/xNuNb21Do8+SwjsloGkQGmLO6WkaWYg=
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:to:message-id:subject
:mime-version:content-type:content-transfer-encoding; s=default;
bh=6o4N7XMXsBEPL4gBsqkmWEvG9Tg=; b=wzrK6l9uGWfik7XPlaBXGTxUdgrE
/kWMK8JTN8hWMGkjpQE8GMEFBd+Ozto7aH9cI8t5ODx/MJuc7o8pVs8MW878O5eK
yFh1hfb3S4IhWMrax0X7P1bDKFABWa7qyV3O3u5dR2lPswz6IOsnC7F9sl5aIZR/
OTL00dVqbEx+Zq8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=1.9 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2
X-HELO: nm38-vm3.bullet.mail.ir2.yahoo.com
Date: Sun, 31 May 2015 22:07:17 +0000 (UTC)
From: GrahamC <grahamc001uk AT yahoo DOT co DOT uk>
Reply-To: GrahamC <grahamc001uk AT yahoo DOT co DOT uk>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <1634537077.3497633.1433110037155.JavaMail.yahoo@mail.yahoo.com>
Subject: Group 544 no longer shows in output of /usr/bin/id when a shell is run as administrator
MIME-Version: 1.0
X-IsSubscribed: yes

It used to be possible to test for the presence of 544 in the bash array GROUPS or the output of the /usr/bin/id program to determine when running as administrator.

Since updating to the latest version this no longer works.

E.g. while running as administrator:


$ echo ${GROUPS[@]}
197121 114 197610 0 559 545 4 66049 11 15 113 4095 66048 262154 405504


$ /usr/bin/id
uid=1001(xxx) gid=197121(None) groups=197121(None),114(Local account and member of Administrators group),197610(HomeUsers),0(root),559(Performance Log Users),545(Users),4(INTERACTIVE),66049(CONSOLE LOGON),11(Authenticated Users),15(This Organization),113(Local account),4095(CurrentSession),66048(LOCAL),262154(NTLM Authentication),405504(High Mandatory Level)

The version I am running is:
CYGWIN_NT-6.2 2.0.2(0.287/5/3) 2015-05-08 17:03 i686

on Windows 8 (not 8.1)

The bash.exe process does show as status Elevated "yes" in the task manager.

Has group 544 been replaced by 114 or has something gone wrong with my Windows configuration ?

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019