System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

maximun number of users in an nis group?

Sreer
Valued Contributor

maximun number of users in an nis group?

Hi,
Could some one pls tell maximum how many of the users can be added in a single NIS+ Group?

Iam facing anissue because of that.

OR from the nis+ master server how can I identify which file contains the information [how many users can accomaodate in the same group]

Thanks for your quick reply.
Google is not giving the answer for this..


Many thanks
Rgds
Sree
2 REPLIES
Hakki Aydin Ucar
Honored Contributor

Re: maximun number of users in an nis group?

Hi,

If you mean the limit of users , I do not think so any restriciton of limit NIS+ user numbers. But if you weant to count NIS+ users you can count the lines related NIS user in /etc/passwd files;

# cat /etc/passwd | grep "^+" | wc -l
Victor Fridyev
Honored Contributor

Re: maximun number of users in an nis group?

I don't use NIS+, just NIS and I had a problem when tried to increase number of a group members to some hundreds (200 - 300). Ypmake could not update the map. So I've found the following workaround:
For the same GID I created more than one entry in the /etc/groupo file and, e.g.
wheel:*:1010:user1,
wheela:*:1010:user100,
wheelb:*:1010:user400,
etc.
In such a case SAM adds users to the first entry, and usernames from it can be moved down to the additional entries.

HTH
Entities are not to be multiplied beyond necessity - RTFM