Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2008 15:13:04 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Limit on number of groups a user can join
Message-ID:  <5B919738-51BD-4319-A112-BC322FD7904F@mac.com>
In-Reply-To: <478D3B40.3000509@netfence.it>
References:  <478D3B40.3000509@netfence.it>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?5B919738-51BD-4319-A112-BC322FD7904F>