X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
X-VirusChecked: Checked
X-Env-Sender: dk068x@att.com
X-Msg-Ref: server-15.tower-120.messagelabs.com!1248206061!20474348!1
X-StarScan-Version: 6.0.0; banners=-,-,-
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: How to resolve 'Your group is currently "mkpasswd"' message
Date: Tue, 21 Jul 2009 12:54:10 -0700
Message-ID: <E0529A8FFC2C9143A5F1BB9A89101D060635161D@BD01MSXMB018.US.Cingular.Net>
In-Reply-To: <E0529A8FFC2C9143A5F1BB9A89101D0606351614@BD01MSXMB018.US.Cingular.Net>
References: <E0529A8FFC2C9143A5F1BB9A89101D0606351614@BD01MSXMB018.US.Cingular.Net>
From: "KARR, DAVID (ATTCINW)" <dk068x@att.com>
To: "KARR, DAVID (ATTCINW)" <dk068x@att.com>, <cygwin@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On
> Behalf Of KARR, DAVID (ATTCINW)
> Sent: Tuesday, July 21, 2009 12:46 PM
> To: cygwin@cygwin.com
> Subject: How to resolve 'Your group is currently "mkpasswd"' message
>=20
> After installing Cygwin 1.5.25 and bringing up RXVT, I got a message
> I've seen in the past, saying 'Your group is currently "mkpasswd"
...'.
> It advises me to run "mkpasswd" and "mkgroup" to fill in records in
> /etc/group and /etc/passwd.
>=20
> If I run "mkpasswd -l" it completes quickly, but doesn't include my
> record.  I run "mkpasswd -d", which seems to be implied as the correct
> thing to do, but it doesn't run very quickly.  In fact, I've never
> waited long enough for it to complete.  I work for a very large
> company,
> if that's going to try to list all the login records in the entire
> company.
>=20
> I tried doing "mkpasswd -l > /etc/passwd" and then "mkpasswd -d -u
> <mylogin> >> /etc/passwd".  That appeared to take care of the
> /etc/passwd file for just my login (the only one I care about), but
I'm
> not sure of a similar approach for "mkgroup".  I tried using "mkgroup
-
> d
> -g <groupname>", but I'm not sure what group name to use.

Never mind.  The strategy of using "-ldu" on mkpasswd along with "-ld"
on mkgroup is useful.  We have 8 zillion users, but a much smaller
number of groups.  The "mkgroup -ld" completed in just a few minutes.

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

