X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 13 Oct 2008 17:54:36 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: invalid login gid in /etc/passwd does not show group name as 'mkgroup' Message-ID: <20081013155436.GO9289@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <0MKr6C-1KoYnl1qgO-0000G3 AT mx DOT kundenserver DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0MKr6C-1KoYnl1qgO-0000G3@mx.kundenserver.de> User-Agent: Mutt/1.5.16 (2007-06-09) 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 On Oct 11 00:21, Herb Maeder wrote: > Perhaps my intention was not clearly stated. I believe that a case > statement was added to /etc/profile long ago, specifically to warn users > that the group name was set to one of the cygwin special cases. I'm > referring to this statement in the cygwin default /etc/profile: > > # Check to see if mkpasswd/mkgroup needs to be run try and cut down the emails > # about this on the lists! > # If this message keeps appearing and you are sure it's a mistake (ie, don't > # email about it!), comment out the test below. > case `id -ng` in > mkpasswd ) > echo "Your group is currently \"mkpasswd\". This indicates that" > echo "the /etc/passwd (and possibly /etc/group) files should be rebuilt." > echo "See the man pages for mkpasswd and mkgroup then, for example, run" > echo "mkpasswd -l [-d] > /etc/passwd" > echo "mkgroup -l [-d] > /etc/group" > echo "Note that the -d switch is necessary for domain users." > ;; > > . . . > > If that case statement is no longer prudent, perhaps it should be removed. > > But if it ends up sticking around, then it probably makes sense to account > for the additional special case that was just introduced: > > passwd/group_GID_clash* ) > echo "Your group is currently \"passwd/group_GID_clash\". This indicates" > echo "blah, blah, blah..." > ;; > > > > The "passwd/group_GID_clash" group name probably also deserves a mention > > > in the Cygwin User's Guide. Yes, you're right, adding a case for passwd/group_GID_clash would be nice. http://cygwin.com/acronyms/#SHTDI I'm sure the maintainer of the base-passwd package would appreciate a patch. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/