Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2008 12:02:47 -0500
From:      Bill Vermillion <bv@wjv.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Limit on number of groups a user can join
Message-ID:  <20080116170247.GB71078@wjv.com>
In-Reply-To: <20080116120019.6796316A47E@hub.freebsd.org>
References:  <20080116120019.6796316A47E@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Even though on Wed, Jan 16, 2008 at 12:00
freebsd-questions-request@freebsd.org 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 <cswiger@mac.com>
> 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

-- 
Bill Vermillion - bv @ wjv . com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080116170247.GB71078>