Solved

mknetid fails on ypmake, too many groups?

Posted on 2001-07-02
3
501 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: 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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

726 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