Limit on number of groups a user can join
Chuck Swiger
cswiger at mac.com
Tue Jan 15 15:13:05 PST 2008
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
More information about the freebsd-questions
mailing list