Operating System - HP-UX
1847258 Members
4419 Online
110263 Solutions
New Discussion

/usr/sbin/mknetid: www's groups exceed 21

 
SOLVED
Go to solution
TCEQ UNIX
Advisor

/usr/sbin/mknetid: www's groups exceed 21

/usr/sbin/mknetid: www's groups exceed 21

When /var/yp/make all is run, it displays this message, but "make all" does complete successfully. Any suggestions?
He who does not slow down at the sight of a police car is usually parked.
3 REPLIES 3
melvyn burnard
Honored Contributor

Re: /usr/sbin/mknetid: www's groups exceed 21

what is the content of your group file?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Jeff Schussele
Honored Contributor
Solution

Re: /usr/sbin/mknetid: www's groups exceed 21

Hi,

This is a limit set in /usr/include/limits.h.
The definition is NGROUPS_MAX & is set to 20.

This can be overridden by using the sysconf() function.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
doug hosking
Esteemed Contributor

Re: /usr/sbin/mknetid: www's groups exceed 21

Jeff, what's that about sysconf?
You can READ the value this way but it sounds like you are saying you can CHANGE it, which doesn't sound correct to me. Look at 's definition of struct ucred and ask yourself how this would work if you could change NGROUPS on the fly.

It sounds like someone locally has changed the www account to be in many more groups than the default HP-UX www user is in. Use of ACLs instead of groups might be one way around that but there's no way to say for sure without knowing a lot more about the specific uses of the system.