delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/12/09:14:39

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: ID command returns mkgroup
Date: Thu, 12 Nov 2009 09:14:17 -0500
Message-ID: <CC93624851A47D42AFD22FB06BCD2D9A02E223AF@CORPUSMX80B.corp.emc.com>
In-Reply-To: <4AFB527A.1040007@cygwin.com>
References: <CC93624851A47D42AFD22FB06BCD2D9A02DA8EEB AT CORPUSMX80B DOT corp DOT emc DOT com> <4AFB0EEA DOT 4020806 AT cygwin DOT com> <CC93624851A47D42AFD22FB06BCD2D9A02DA8FE5 AT CORPUSMX80B DOT corp DOT emc DOT com> <4AFB527A DOT 1040007 AT cygwin DOT com>
From: <Dexter_Michael AT emc DOT com>
To: <cygwin AT cygwin DOT com>
X-EMM-EM: Active
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Well I am not really sure exactly what I should be seeing.  I think the
command I ran was incorrect, also I had stopped the command from
completing half way through.  Now if I look at me /etc/groups file there
appears to be an entry for every single group in the company but it
stops at G - this must be where I had hit CTRL+C to break out of the
command.

Should my ID output be the same as when I log into a unix server here,
or would it be different?  My cygwin is running on a Windows workstation
so maybe it is grabbing my AD groups as opposed to my NIS groups.

Sorry if this is confusing.  I am still learning the Cygwin shell.

Mike



-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
Of Larry Hall (Cygwin)
Sent: Wednesday, November 11, 2009 7:11 PM
To: cygwin AT cygwin DOT com
Subject: Re: ID command returns mkgroup

<http://cygwin.com/acronyms/#TOFU>  Reformatted.

On 11/11/2009 05:32 PM, Dexter_Michael wrote:
>> -----Original Message-----
>> From: XXXX On Behalf
          ^^^^
>> Of Larry Hall (Cygwin)
>> Sent: Wednesday, November 11, 2009 2:22 PM
>> To: XXXX
       ^^^^
<http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.

>> Subject: Re: ID command returns mkgroup
>>
>> On 11/11/2009 02:15 PM, Dexter_Michael wrote:
>>> Hi,
>>>
>>> I opened cygwin and typed "id" and I noticed the word mkgroup was
>>> listed two times after my username.
>>>
>>> So I search on this error and found the following command to fix:
>>> mkpasswd -l -c>   /etc/passwd; mkgroup -l -d>   /etc/group
>>>
>>>
>>> But now when I run id I get a totally different result. It seems the
>>> command has placed my userid into a number of ironious groups
including
>>> Administrators. As fun as that sounds, it seems like I have given
>>> myself power I should not have as a basic user.
>>>
>>> Can someone help me to correct my id output and rebuild my passwd or
>>> group  files correctly...?
>>
>> Read and follow the problem reporting guidelines found here:
>> Problem reports:       http://cygwin.com/problems.html
>>
>> Pay close attention to the request to *attach* and not append
cygcheck
>> output.
>> Thanks Larry.
>
> I have attached the cygcheck.out file.

OK, so you're a domain user that is also part of the local
Administrators=20
and local
Users group, in addition to being part of a number of other domain
groups.
What groups do you believe you're not a part of and why?

--=20
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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



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