www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/13/11:55:40

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 <corinna-cygwin AT cygwin DOT com>
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: <corinna-cygwin AT cygwin DOT com> <0MKr6C-1KoYnl1qgO-0000G3 AT mx DOT kundenserver DOT de>
MIME-Version: 1.0
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
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

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/

- Raw text -


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