Solved

mknetid fails on ypmake, too many groups?

Posted on 2001-07-02
3
491 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 100 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

929 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now