Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2008 12:02:47 -0500
From:      Bill Vermillion <>
Subject:   Re: Limit on number of groups a user can join
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Even though on Wed, Jan 16, 2008 at 12:00 realized that everything
he says should be taken 'cum grano salis', he unhesitatingly
continued with this missive:

> Message: 4
> Date: Tue, 15 Jan 2008 15:13:04 -0800
> From: Chuck Swiger <>
> Subject: Re: Limit on number of groups a user can join

> On Jan 15, 2008, at 3:01 PM, Andrea Venturoli wrote:

> > I made some tries removing him from other groups and I got to
> > the conclusion that it works as long as he is in no more than
> > 15 groups, but breaks when he join the 16th. Is this an hard
> > limit? Can it be extended? Why this?

> This limit is somewhat historical but cannot easily be changed
> because this max # is hard-coded into the NFS protocol, which
> needs to describe which groups a user belongs to. If you're not
> using NFS, you might try changing the declaration of KI_NGROUPS
> in /usr/src/sys/ user.h and build a new kernel, I believe....

> -Chuck

I don't know if this will work in FreeBSD as I don't have
anyone in that many gruops.

I did run across this limit in a commercail System V a few years
back..  As I recall I added another line to the group file using
the same group number and that fixed that problem.

It may be worth a try.


Bill Vermillion - bv @ wjv . com

Want to link to this message? Use this URL: <>