Date: Wed, 7 Dec 2005 17:41:51 +1030 From: Ian Moore <no-spam@swiftdsl.com.au> To: freebsd-questions@freebsd.org Subject: Changing maximum number of groups in FBSD - is it feasible? Message-ID: <200512071741.57495.no-spam@swiftdsl.com.au>
next in thread | raw e-mail | index | archive | help
--nextPart1821036.HiO5d0GaCl Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I'm toying with the idea of increasing the maximum number of groups a user = can=20 belong to on one of my servers - we have a rather complex organisation and= =20 we're hitting the 15 group limit for some people. There seems to be differing opinions on how to do this and if it's actually= =20 feasible. One post I found said: > in src/sys/sys/syslimits.h there is a constant named 'NGROUPS_MAX'.=20 > change it to however many you need (within reason), rebuild/install world= =20 > and kernel.=20 Another said you have to change all sorts of things in the source, modify a= =20 kernel parameter, rebuild world and rebuild any port that uses NGROUPS -=20 which probably means a portupgrade -fa. There is talk of a maxgroups() parameter in the kernel, but NOTES makes no= =20 mention of this. I wonder too if some apps would need their own configuration altered to all= ow=20 them to work with the higher limit. So I just wanted to ask if anyone has successfully raised the NGROUPS_MAX=20 limit, especially when running samba & nfs on the system? If not, I'll work around the problem a different way. (BTW I'm running 5.4-RELEASE) Cheers, =2D-=20 Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc --nextPart1821036.HiO5d0GaCl Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDlos9PUlnmbKkJ6ARAlCEAJ95glkBVOXNux1o39QjWTCSFe3+JQCdHx/j 5kDR7OdsCCjt6yYRiUM46Bs= =kiG+ -----END PGP SIGNATURE----- --nextPart1821036.HiO5d0GaCl--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512071741.57495.no-spam>