delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
MIME-Version: | 1.0 |
Subject: | mkpasswd and mkgroup failures |
Date: | Wed, 18 May 2005 15:12:07 -0400 |
Message-ID: | <3D848382FB72E249812901444C6BDB1D03E04FC8@exchange.timesys.com> |
From: | "Robb, Sam" <sam DOT robb AT timesys DOT com> |
To: | <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id j4IJIZ7E011474 |
A colleague ran into problems running mkpasswd and mkgroup on her machine, as shown below: Your group is currently "mkpasswd". This indicates that the /etc/passwd (and possibly /etc/group) files should be rebuilt. See the man pages for mkpasswd and mkgroup then, for example, run mkpasswd -l [-d] > /etc/passwd mkgroup -l [-d] > /etc/group Note that the -d switch is necessary for domain users. foo AT bar ~ $ mkpasswd -l -d > /etc/passwd mkpasswd (257): [1326] Logon failure: unknown user name or bad password. foo AT bar ~ $ mkgroup -l -d > /etc/group NetGroupEnum() failed with 1326 Searching the cygwin ML for similar instances turned up one reference (http://www.cygwin.com/ml/cygwin/2004-06/msg01111.html) to this particular error, but didn't seem to provide any resolution. One oddity I noticed was that the user was logged in using a domain account (foo) and that there was also a local account on the machine named "foo" as well. I logged off of the machine, logged back in under a different account, and was able to run "mkpasswd -l -d" and "mkgroup -l -d" without any errors. Has anyone else run into this or similar problems? Am I right in thinking that this might be a problem caused by having two seperate accounts (one domain, one local) with the same name? -Samrobb -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |