delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.5 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS,URI_BLOGSPOT |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <E0529A8FFC2C9143A5F1BB9A89101D060635161D@BD01MSXMB018.US.Cingular.Net> |
References: | <E0529A8FFC2C9143A5F1BB9A89101D0606351614 AT BD01MSXMB018 DOT US DOT Cingular DOT Net> <E0529A8FFC2C9143A5F1BB9A89101D060635161D AT BD01MSXMB018 DOT US DOT Cingular DOT Net> |
Date: | Wed, 22 Jul 2009 11:31:21 +1000 |
Message-ID: | <2d4e447c0907211831t190d9d17x78cdd69114fb9cb9@mail.gmail.com> |
Subject: | Re: How to resolve 'Your group is currently "mkpasswd"' message |
From: | Robert Mark Bram <robertmarkbram DOT cygwin AT gmail DOT com> |
To: | 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 |
Hi David, > 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. In a corporate environment (with domains), I run this: mkpasswd -l -c > /etc/passwd; mkgroup -l -d > /etc/group I haven't worked out a nice way to update /etc/passwd to reflect a different home dir, so I make sure to set HOME environment variable and the run this: cat /etc/passwd | sed "s|:/home/$USERNAME:|:$HOME:|" > /etc/passwd This gave me such a big headache recently, I wrote about it here: http://bit.ly/t7qRK Rob :) General Blog: http://robertmarkbram.blogspot.com/ Technical Blog: http://robertmarkbramprogrammer.blogspot.com/ Profile: http://www.google.com/profiles/robertmarkbram -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |