The Everyone group

Corinna Vinschen
Fri Aug 2 04:16:00 GMT 2002

On Thu, Aug 01, 2002 at 09:56:54PM -0400, Pierre A. Humblet wrote:
> 3 patches are included: those to and
> are minor optimizations related to setgroups. The one to
> removes Everyone from the output of getgroups32
> (as if it weren't in /etc/group).


> Additionally I would suggest modifying mkpasswd and mkgroup to
> - remove Everyone from the output
> - set the gid of SYSTEM to 544 (instead of 18, which is redundant anyway).
>   Without this, doing setgroups(0, NULL) while running as SYSTEM removes
>   the Administrators group, which is not at all what happens in Unix when
>   running as root.
> If you think it's a good idea I'll get to that in a couple of weeks,
> after some vacations.

It sounds like a good plan.  I'd just like to be careful if nothing
weird happens when removing it from passwd and group.  However, I've
changed mkpasswd and mkgroup already and I've changed my passwd and group
files to test that.

> Note that if Everyone is removed from /etc/group applying the patch to 
> makes no difference.

It makes a difference for existing setups so it's better to have it.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                      
Red Hat, Inc.

More information about the Cygwin-patches mailing list