This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: ID command returns mkgroup


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@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
Of Larry Hall (Cygwin)
Sent: Wednesday, November 11, 2009 7:11 PM
To: cygwin@cygwin.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 
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?

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]