1827293 Members
1692 Online
109717 Solutions
New Discussion

Re: Groups Membership

 
Robert Perez_2
Occasional Contributor

Groups Membership

How many groups can a user be a member of? Under 10.20 and 11.00, it looks like it might be 20, if I am interpreting the NGROUPS_MAX parameter correctly in limits.h. (on the 10.20 box, I have linked /etc/logingroup to /etc/group, so running newgroup is not necessary).
3 REPLIES 3
Alex Glennie
Honored Contributor

Re: Groups Membership

your correct

NGROUPS_MAX is the constant in /usr/include/limits.h

NGROUPS is the constant in the kernel in param.h

They are both 20.
Brian Hackley
Honored Contributor

Re: Groups Membership

Just a short add-on note:
NFS only allows a client user to be a member of 16 groups on HP-UX.

-> Brian Hackley
Ask me about telecommuting!
Wodisch
Honored Contributor

Re: Groups Membership

Hello Robert,

and PFS (Portable File System) had a problem when "root" was member of more then 10 groups and perhaps still has...

Just my $0.02,
Wodisch