1. A limit may exist in practice, but it looks as if the standard (POSIX) structure can accept any number of secondary groups.
2.a. Tested on White Box Linux (RHEL 3 clone) - 20 works fine.....just keep adding to the /etc/group line relating to the user in question
b. Identical kernel (Unless you've configured it for huge_mem or smp), so the limit would be the same.
c. RHEL ES4U2 - Also managed 20, but can't see why there is any other limit other than mem/number of groups on the system!
Is there a genuine need to find a limit? I've got one RHEL ES4U2 box where I can try almost 100 groups if this is important. The bottom line is that there doesn't appear to be a specified limit that I can find.
HTH:)
Main Topics
Browse All Topics





by: ravenplPosted on 2006-06-15 at 09:28:17ID: 16912987
check the value from /proc/sys/kernel/ngroups_m ax - it's different for various archs.
defaults to 64K