delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/02/16:56:07

X-Spam-Check-By: sourceware.org
Message-ID: <20060601203159.57071.qmail@web55502.mail.re4.yahoo.com>
Date: Thu, 1 Jun 2006 13:31:59 -0700 (PDT)
From: Clifford Moravetz <cvmbx43 AT yahoo DOT com>
Subject: Re: How come I'm still the mkgroup group?
To: cygwin AT cygwin DOT com
In-Reply-To: <447E3552.8020107@cygwin.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

--- "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> wrote:

> Clifford Moravetz wrote:
> > I'm wondering why I'm still in the 'mkgroup' group even after
> running
> > the mkgroup and mkpasswd commands. I ran these commands like
> this:
> > 
> > mkpasswd -l -d > /etc/passwd
> > mkgroup -l -d > /etc/group
> > 
> > but when I run the id command I'm still in the mkgroup. Here's
> the
> > output from my id command:
> > 
> > uid=21522(Moravetz) gid=22162(mkgroup)
> > groups=544(Administrators),545(Users),1005(Debugger
> > Users),28009(cc_users),10513(Domain
> >
> Users),18698(InternetAccess_A),28014(SB-CCUltiview),22162(mkgroup)
> > 
> > It got wrapped in a few odd places because of Yahoo's rules about
> > word wrapping. I've attached the output of cygcheck as requested.
> 
> 
> Thank you.  It looks like your primary group ID is 22162.  It's
> possible
> that 'mkgroup' is having problems getting information for that
> group id
> from your domain.  Do you see any errors when you run 'mkgroup'?

I didn't see any errors when I ran mkgroup. I also didn't see any
when I ran mkpasswd, if that's any help. Both commands ran to
completion without any problems reported.

What I'm puzzled about is where group ID 22162 came from because none
of the groups in the resulting /etc/group are 22162. I though that
mkgroup derives the group IDs from the SIDs for the Windows groups
kind of like the mkpasswd command does for the user IDs.

I'm wondering if the fact that I'm the member of quite a few Windows
groups is part of the problem. I don't know how mkpasswd picks a
Windows group to put into /etc/passwd when there are multiple groups
to choose from.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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