Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <01C11640.55A550A0.jorgens@coho.net>
From: Steve Jorgensen <jorgens@coho.net>
Reply-To: "jorgens@coho.net" <jorgens@coho.net>
To: "cygwin@cygwin. Com (E-mail)" <cygwin@cygwin.com>
Subject: Understanding Cygwin /etc/passwd and /etc/group on W98
Date: Fri, 27 Jul 2001 02:03:20 -0700
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

On Windows 98, I'm curious why /etc/group looks like an exact copy of 
/etc/passwd.  they both look like this:

Syhome::500:544::/home/Syhome:/bin/bash

Shouldn't /etc/group contain an entry for a group with GID of 544 to match 
the default GID for UID 500 rather than a copy of the passwd file?  FWIU, 
when looked at as passwd entry, this refers to a user with UID 500 and 
default group GID 544, but as a group entry, this defines a group with GID 
500 having a single member UID 544.  Since there is neither a UID of 544 or 
a GID of 500, these files don't look compatible.

I see that if I run mkgroup, I get an entry that looks valid:
unknown::544:

but I thought setup created /etc/group by running mkgroup, so why isn't 
that what /etc/group already contains?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

