RHEL 3:
$ getconf NGROUPS_MAX
32
RHEL 4:
$ getconf NGROUPS_MAX
65536
$ /sbin/sysctl kernel.ngroups_max
kernel.ngroups_max = 65536
$ cat /proc/sys/kernel/ngroups_max
65536
RHEL 5:
$ getconf NGROUPS_MAX
65536
$ /sbin/sysctl kernel.ngroups_max
kernel.ngroups_max = 65536
$ cat /proc/sys/kernel/ngroups_max
65536
Solaris 10:
# getconf NGROUPS_MAX
16
To get rid of the above limit:
/etc/system
set ngroups_max = 32
AIX 5.2.0.0:
# getconf NGROUPS_MAX
64
reference:
http://www.j3e.de/ngroups.html