delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/21/15:54:39

X-Recipient: archive-cygwin AT delorie DOT 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 AT att DOT com
X-Msg-Ref: server-15.tower-120.messagelabs.com!1248206061!20474348!1
X-StarScan-Version: 6.0.0; banners=-,-,-
MIME-Version: 1.0
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 AT BD01MSXMB018 DOT US DOT Cingular DOT Net>
From: "KARR, DAVID (ATTCINW)" <dk068x AT att DOT com>
To: "KARR, DAVID (ATTCINW)" <dk068x AT att DOT com>, <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On
> Behalf Of KARR, DAVID (ATTCINW)
> Sent: Tuesday, July 21, 2009 12:46 PM
> To: cygwin AT cygwin DOT 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

- Raw text -


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