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 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: ID command returns mkgroup Date: Thu, 12 Nov 2009 09:14:17 -0500 Message-ID: In-Reply-To: <4AFB527A.1040007@cygwin.com> References: <4AFB0EEA DOT 4020806 AT cygwin DOT com> <4AFB527A DOT 1040007 AT cygwin DOT com> From: To: X-EMM-EM: Active X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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 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 ^^^^ . 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