Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2003 18:02:48 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Mitch Vincent <mitch@cfact.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: group question - 15 member limit?
Message-ID:  <20030130000248.GX17299@dan.emsphone.com>
In-Reply-To: <50AAD8C8-33E0-11D7-BCAB-0003938024CA@cfact.com>
References:  <50AAD8C8-33E0-11D7-BCAB-0003938024CA@cfact.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030130000248.GX17299>