From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 07:12:05 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14A0116A41F for ; Wed, 7 Dec 2005 07:12:05 +0000 (GMT) (envelope-from no-spam@swiftdsl.com.au) Received: from smtp.ade.swiftdsl.com.au (smtp.ade.swiftdsl.com.au [218.214.228.98]) by mx1.FreeBSD.org (Postfix) with SMTP id C7D1543D5C for ; Wed, 7 Dec 2005 07:12:00 +0000 (GMT) (envelope-from no-spam@swiftdsl.com.au) Received: (qmail 25882 invoked from network); 7 Dec 2005 07:12:01 -0000 Received: from unknown (HELO daemon.foo.lan) (218.214.176.70) by smtp.ade.swiftdsl.com.au with SMTP; 7 Dec 2005 07:12:01 -0000 From: Ian Moore To: freebsd-questions@freebsd.org Date: Wed, 7 Dec 2005 17:41:51 +1030 User-Agent: KMail/1.8.3 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1821036.HiO5d0GaCl"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200512071741.57495.no-spam@swiftdsl.com.au> Subject: Changing maximum number of groups in FBSD - is it feasible? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2005 07:12:05 -0000 --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--