Defaults number of users and Groups

Hi All,

I would like know how many of default number of users and groups are there in solaris-10...

Regards
Tirupathi Raju

There is not a default, there are maximums.

A user can be in 16 groups, 15 secondary groups plus 1 primary group. You can increase this but if you have any NFS mounts that are NFS V3 or below they will not support more than 16 groups for a user.

I've found a document that says that Solaris 2.5.1 has a maximum UID of 2,147,483,648 (defined in /usr/include/limits.h) but again if you are using NFS than the NFS server and NFS has to support the UID range you are using.

I can't find where the maximum GID is defined, perhaps someone else will?

I would tend to keep UID and GID numbers below 60000.

Thanks a lot Tony for your suggestion.