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: invalid login gid in /etc/passwd does not show group name as 'mkgroup'


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/


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