delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/14/13:12:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: AW: Having problems with sshd and user accounts? 1.3.10 appears to be broken, 1.3.9 fixed it...
Date: Thu, 14 Mar 2002 19:10:55 +0100
Message-ID: <D143FBF049570C4BB99D962DC25FC2D203B91B@freedom.icomedias.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Having problems with sshd and user accounts? 1.3.10 appears to be broken, 1.3.9 fixed it...
Thread-Index: AcHLenMzU8L2Z1zTT8KLWJX2jrdCwQACE8pg
From: "Martin Bene" <martin DOT bene AT icomedias DOT com>
To: "Corinna Vinschen" <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g2EICFV28511

Hi Corinna,

> Currently I don't understand how setup could create a /etc/passwd file
> with gid 513 and a group file with gid 10513.
> 
> IIRC, setup calls both, mkpasswd and mkgroup, using the -l option.
> This should naturally result in using the 513 in both files.
> 
> If anybody could sched some light here so that we can avoid that
> trap in future?!?

OK, I shouldn't write just from memory instead of actually retyping the commands.

Given: cygwin on a W2k Primary domain controller.

When running mkpasswd -l and mkgroup -l, you get primary group 513 in passwd, and no mention of either 513 or 10513 in group file.

If you run mkpasswd -d mydomain and mkgroup -d mydomain, you get matching 10513 eintries in both files: 

Resume: In the autogenerated files for local users/groups, the primary group as defined in passwd is missing from the group file. By using domain users/groups instead, you get the expected working result.

Sorry for the confusion, 

Martin

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

- Raw text -


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