Solved

mknetid fails on ypmake, too many groups?

Posted on 2001-07-02
3
488 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
Comment Utility
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
Comment Utility
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
Comment Utility

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
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…
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…
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.

763 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

14 Experts available now in Live!

Get 1:1 Help Now