occasional failure to look up

Habermann, David (D) DAHabermann@dow.com
Tue Nov 18 16:26:00 GMT 2014

-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of Corinna Vinschen
Sent: Tuesday, November 18, 2014 10:58 AM
To: cygwin@cygwin.com
Subject: Re: occasional failure to look up

On Nov 18 15:49, Habermann, David (D) wrote:
> > Do you login with your Microsoft account?
> I am logged into my workstation using the id "DOW\U074036".  Of course the services I mentioned to not run under my ID, but instead under "SYSTEM" (except sshd, which uses privsep)
> > Is 1125370 your primary group id?  Can you please paste the output of `id'?
> No, it is not my primary group ID...instead it is my uid (see below).

I got that.  I was asking if the same id is uid *and* pgid.  Sorry
if that wasn't clear.

Here are the first few lines of my "id" output (the entire output is huge, as we make excessive use of AD groups here):
> uid=1125370(U074036) gid=1049089(Domain Users) groups=1049089(Domain Users),197609(EW54384R82P30V+Debugger Users),197617(EW54384R82P30V+DorincoServerAdmins),197619(EW54384R82P30V+Offer Remote Assistance Helpers),555(Remote Desktop Users),545(Users),4(INTERACTIVE),66049(CONSOLE LOGON),11(Authenticated Users),15(This Organization),66048(LOCAL),1275934(InternetUsers),1360436(VPNUsers),1716061(CRM-SHARE-FC),1059330(ep-fc),1062240(ps-sixsigma-change),1882511(TDCC-Users),1716058(CRM-DB-FC),1854531(app-inst-acrobatpro-4),1241820(synergyadm44-chg),2261836(GDC_DR-SHR),1328857(FsmUsers1-G),1058762(Dow-Chem-Emp-List),2269908(GRP-WEB-SHR),18896
> ....and an abbreviated listing from 
> $ /cygdrive/c/Windows/System32/whoami /user /groups /fo list

The problem here is the abbreviation in both cases.  What I was looking
for is if your user uid/SID shows up in the token group list as well.
I don't need the full list, but can you please check?

1125370 does not occur anywhere else in the ID output (only as UID).  U074036 also does not appear anywhere else in the ID output (only as UID).

1125370 does not appear anywhere in the whoami output.  However, u074036 does appear twice in the whoami output.  I've included both below. 

User Name: dow\u074036
SID:       S-1-5-21-1060284298-861567501-682003330-76794

Group Name: DOW\U074036
Type:       User
SID:        S-1-5-21-4015118-2039090470-1726288727-4013
Attributes: Mandatory group, Enabled by default, Enabled group

Now this makes no sense to me....I don't understand why "I" am both a user and a group....any thoughts on that?

More information about the Cygwin mailing list