From owner-freebsd-questions Wed Jan 29 16: 2:52 2003 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 A594B37B405 for ; Wed, 29 Jan 2003 16:02:51 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91A6643F3F for ; Wed, 29 Jan 2003 16:02:50 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id h0U02mCg055602; Wed, 29 Jan 2003 18:02:48 -0600 (CST) (envelope-from dan) Date: Wed, 29 Jan 2003 18:02:48 -0600 From: Dan Nelson To: Mitch Vincent Cc: freebsd-questions@FreeBSD.ORG Subject: Re: group question - 15 member limit? Message-ID: <20030130000248.GX17299@dan.emsphone.com> References: <50AAD8C8-33E0-11D7-BCAB-0003938024CA@cfact.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50AAD8C8-33E0-11D7-BCAB-0003938024CA@cfact.com> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.3i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Jan 29), Mitch Vincent said: > What I have is this, a list of users and I want the user www to be a > member of all their groups.. I have this in /etc/groups > > d50:*:1026:www > d49:*:1027:www > d51:*:1028:www > > (etc etc etc - there are about 80 users like this currently.) > > If I do 'id www' it only shows www in the first 15 groups listed in > /etc/groups - this is really the case too because if I su to www and > try to access one of the files (that are perm 770) - I get permission > denied. So it's not just a screw up with 'id' - it appears that www > really isn't in any of those other groups! > > I'm adding groups and group member via 'pw' so I'm pretty sure the > syntax is right.. Is there some kind of limit that would prevent my > www user from being in more than 15 groups? /sys/sys/syslimits.h sets the maximum number of groups at 16 with the NGROUPS parameter. I think you can bump it and rebuild world with no ill effects, except possibly NFS accesses may still only see the first 16. I dont know what effect bumping it up to 100 would do :) -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message