number of users in a group 2005-12-20 - By Chris Adams
Back Once upon a time, Chris Adams <cmadams@(protected)> said: > Once upon a time, Bowen, III, Clint <cbowen@(protected)> said: > > I'm currently using RHEL 3, and I have a problem in that my > > groups will only hold 32 members. While this works fine for > > departmental use, making groups for some classes is problematic. Does > > RHEL 4 increase this limit, and if so to what number? What is the > > recommended workaround for this problem? > > This is a classic Unix problem because pretty much all Unix systems use > a static array for the auxilliary group membership. IIRC the Cobalt/Sun > kernel patch for the dynamic group list went in before RHEL 4 picked the > kernel version, so it should support up to 65536. See the output of: > > echo -e '#include <limits.h>\nNGROUPS_MAX' | cpp | tail -1
I realized just as I sent this that you meant the reverse of what I was talking about (number of users in a group, not number of groups a user is in). Sorry, I don't know about changing that limit; it is typically based on the line length of the /etc/group entry though, so using LDAP instead of plain text files may get around it.
-- Chris Adams <cmadams@(protected)> Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble.
-- Taroon-list mailing list Taroon-list@(protected) https://www.redhat.com/mailman/listinfo/taroon-list
|
|