This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: How to resolve 'Your group is currently "mkpasswd"' message


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]