Bug#325465: Difference between sysconf(_SC_NGROUPS_MAX) and /proc/sys/kernel/ngroups_max
Sylvain Beucler wrote:
> stable's /usr/include/linux/limits.h has NGROUPS_MAX set to 32. In
> testing and unstable it is set to 65536.
> The usermod limitation happens in stable and testing (tested with
> their respective default kernel), but not in unstable (tested with the
> testing kernel - all tested kernels having ngroups_max=65536).
The stable default kernel is 2.4.27 which is limited to 32 groups.