Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Max Groups

Status
Not open for further replies.

bfitzmai

Technical User
May 15, 2004
853
US
Is there anyway to change the maximum number of groups I can be a member of. By default, the number is 17 on Solaris 2.6

Thanks
Bruce
 
this is, what I stole ;-) from sunsolve.sun.com
Code:
DOCUMENT ID: 01247 

SYNOPSIS: Maximum number of supplementary groups per user 

...some more info...

The NGROUPS_MAX value defaults to 16, and the absolute maximum is 32. The default value can be reset as follows: 


Edit the /etc/system file and add the following line: 
set ngroups_max = 32

Reboot the system. 

Verify that NGROUPS_MAX has been set to the correct value after rebooting using the getconf command. 

# getconf NGROUPS_MAX
32

Note: Do not raise the value of NGROUPS_MAX above 16 for systems that need to be NFS clients as this will break NFS authorization and those users will not be able to login because NFS internally depends on NGROUPS_MAX and is limited to only 16. 

Also, while booting up, the following message is displayed on the console: 

WARNING: ngroups_max of 32 > 16, NFS AUTH_SYS will not work properly

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Thanks Franz...
I guess I am stuck with 16. The MFS client issue is the
killer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top