up vote 3 down vote favorite
share [g+] share [fb]

We've recently run into a situation at a group-happy site where some group memberships are not being picked up. I seem to remember that there is an upper limit to the number of groups that a user can be a member of.

While I am specifically interested in modern Linux systems, I also remember that for some older versions of some OSs that number is lower?

link|improve this question

75% accept rate
feedback

2 Answers

up vote 2 down vote accepted

The specific answer seems to be:

...which explains our problem, we've recently crossed the 16-group boundary for some users.

link|improve this answer
Interesting, wasn't aware of that limitation. – theotherreceive Aug 21 '09 at 3:22
feedback

Look for NGROUPS_MAX in limits.h to find the value on your system.

I think this is a tunable parameter in a modern Linux kernel. (Used to be 16 on Solaris, I don't know if they have fixed that yet.)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.