?
Solved

mknetid fails on ypmake, too many groups?

Posted on 2001-07-02
3
Medium Priority
?
503 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 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

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…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

771 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