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: References: 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 To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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