Date: Wed, 20 May 1998 00:22:47 -0500 From: Dan Nelson <dnelson@emsphone.com> To: wroberts <wroberts@med.wayne.edu>, freebsd-questions@FreeBSD.ORG Subject: Re: groups: login complains uuuu is in too many groups using 1st 16 Message-ID: <19980520002247.A16829@emsphone.com> In-Reply-To: <35625CA9.DD0EBA61@med.wayne.edu>; from "wroberts" on Wed May 20 00:31:38 GMT 1998 References: <35625CA9.DD0EBA61@med.wayne.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 20), wroberts said: > login: usrxyzx is in too many groups, using first 16 > > The above message happens when usrxyzx logs in. Each user is give > their own group and other users needing access to the group are added > to the individual groups. This seemed like a very good idea, > particularly after dealing with VMS's scheme. Our planned expansion > configuration will require that serveral supervisors will have access > to many (more much than 16) user's data. > > On examination of the /etc/group file, usrxyzx is listed in 15 groups > (including wheel). Is this a real problem, I can't seem to find this > problem anywhere else, and the other users who are in the same number > of groups do not get this message. Try running "id usrxyzx" to see which groups they have been assigned to. You can raise the number of groups a userid can be in by adjusting NGROUPS_MAX in /usr/src/sys/syslimits.h, then doing a make world. Even though the sysctl kern.ngroups holds the max # of groups, quite a few binaries use the NGROUPS #define instead of lookin up the current value. According to an earlier post by Terry, you may still have problems if you are NFS mounting filesystems; apparently they are limited to 16 groups/user. -Dan Nelson dnelson@emsphone.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?19980520002247.A16829>