Operating System - HP-UX
1833960 Members
1659 Online
110063 Solutions
New Discussion

Maximum number of groups a user can be a member of

 
Mark Treen_1
Advisor

Maximum number of groups a user can be a member of

Guys

Is there a maximum number of groups any user can be a member of and if so, can this parameter be changed?

I promise all I have tried and researched to find an answer on this but just cant....

Can you help a desperate man?

Cheers

Mark
Mark Treen
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor

Re: Maximum number of groups a user can be a member of

Ask the bix itself.

getconf NGROUPS_MAX

although I'm sure that someone will take the easy approach and tell you 20.

By the way, this is a hard-limit and cannot be increased (well, unless you are HP).
If it ain't broke, I can fix that.
James R. Ferguson
Acclaimed Contributor

Re: Maximum number of groups a user can be a member of

Hi Mark:

The maximum value is defined by 'NGROUPS_MAX' in '/usr/include/limits.h'. In the absence of full source code you couldn't begin to change it.

Regards!

...JRF...
Dave Olker
Neighborhood Moderator

Re: Maximum number of groups a user can be a member of

If you're using NFS/RPC you can only be a member of 16 groups othewise you'll get an authentication error.

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Mark Treen_1
Advisor

Re: Maximum number of groups a user can be a member of

Excellent answers which helped me as i needed
Mark Treen