Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Content-Type: text/plain; charset="iso-8859-1" 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: 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" To: "Corinna Vinschen" Content-Transfer-Encoding: 8bit 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/