1832247 Members
2394 Online
110041 Solutions
New Discussion

groups users

 
eric stewart
Frequent Advisor

groups users

I got a message:
initgroups: cjavick is in too many groups

1. Where is the limit documented?
2. Is ther a way to increase the limit?
3. Can groups be defined within a group?

Thanks. This is the first posting for me. Hope I did it corectly.
Good help is easy to find within forums
3 REPLIES 3
Andreas Voss
Honored Contributor

Re: groups users

Hi,

the max number of groups can be found in:
/usr/include/sys/param.h
as a preprocessor directive like:
#define NGROUPS 20 /* for HP-UX 10.20 */
Don't know if this value can be increased.

Greetings

Andrew
Andy Monks
Honored Contributor

Re: groups users

As Andreas said, the limit is 20. It can't be increased and you can't nest groups either.

Does your user, really need to be in that many groups.
eric stewart
Frequent Advisor

Re: groups users

Thanks for the info.
The groups were being used to allow access to different studies and groups.
Found a different way to get group info.
Thanks again.
Good help is easy to find within forums