Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2007 20:10:45 -0500
From:      Dan Casey <dcasey@debtresolve.com>
To:        freebsd-questions@freebsd.org
Subject:   Adjusting NGROUPS_MAX constant
Message-ID:  <45AD7795.2060100@debtresolve.com>

next in thread | raw e-mail | index | archive | help
I am running into trouble with users who are in more then 16 groups.  I
fail to ssh in with the following message:
sshd[96785]: initgroups(username,1002): Invalid argument

sysctl -a kern.ngroups
kern.ngroups: 16

Is there any reason why I should not raise NGROUPS_MAX in the following
two files?

/usr/include/sys/syslimits.h
/usr/src/sys/sys/syslimits.h


What could I accidentally break.. Or should I say, is there a good
reason why the number 16 is hard coded in there?




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