?
Solved

mknetid fails on ypmake, too many groups?

Posted on 2001-07-02
3
Medium Priority
?
518 Views
Last Modified: 2013-12-27
Hi,

I have a huge passwd/group-base, which contains thousands of users and groups. This one users exists on several groups, and I'm getting this while trying to add him to the 18th group :

########
/usr/sbin/mknetid: username's groups exceed 17
*** Error code 138
make: Warning: Target 'all' not remade because of errors
########

mknetid seems to be really short on manpages ... where can I increase that amount of groups or is it even possible?

The system is Solaris 5.6.

Thanks in advance,

     ~/A
0
Comment
Question by:acidia
3 Comments
 
LVL 1

Expert Comment

by:k.kidambi
ID: 6249261
There is a limitation for this. This limitation is 16. I remember installing a Patch for Solaris-7 (110426-01). I guess you can also download the patch for Solaris 2.6 and install that patch. That should resolve your problem

post your comments here.

Kidambi
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 400 total points
ID: 6249363
beside the patch mentioned before, this should be a kernel parameter which can be configured in /etc/system:
   ngroups_max
0
 

Author Comment

by:acidia
ID: 6252201

Thanks - the ngroups_max did it. Patching is also an option, but the machine's uptime is so vital that I cannot afford any_downtime, except the boot during the night etc :P.

    ~/A
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month15 days, 21 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question