Article View: comp.sys.next.bugs
Article #23Re: Group Problems w/3.0
From: Louis A. Mamakos
Date: Thu, 28 Jan 1993 01:59
Date: Thu, 28 Jan 1993 01:59
35 lines
1725 bytes
1725 bytes
In article <1993Jan27.135357.3950@nic.csu.net> vqueved@nextlab.calstatela.edu writes:
>Is there any on that is running into the Limit of:
>
> A single user cannot belong to more than 14 groups.
>
>I send out some email about this and responses indicated that it was
>a problem with NetInfo only allowing 14 groups per user.
It is not a problem with NetInfo. It is a compiled in limit of the
UNIX kernel. If you look at /NextDeveloper/Headers/bsd/sys/param.h
(otherwise found in /usr/include/sys/param.h on sane computers),
you'll find:
#define NGROUPS 16 /* max number groups */
If you RTFM 'man 2 getgroups':
NAME
setgroups - set group access list
DESCRIPTION
Setgroups sets the group access list of the current user
process according to the array gidset. The parameter
ngroups indicates the number of entries in the array and
must be no more than NGROUPS, as defined in <sys/param.h>.
>Is there anyway to modify a file/profile/"sys_rc" file to allow up to 35
>groups?
Nope. You'd have to rebuild the UNIX kernel. I'm very surprised that
16 groups isn't enough; perhaps you're not using them very
effectively?
Louis Mamakos
Technical Details
Message-ID:
<1k7em7INNn3p@ni.umd.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!amdahl!rtech!pacbell.com!sgiblab!darwin.sura.net!haven.umd.edu!ni.umd.edu!sayshell.umd.edu!louieReferences:
<1993Jan27.135357.3950@nic.csu.net>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!amdahl!rtech!pacbell.com!sgiblab!darwin.sura.net!haven.umd.edu!ni.umd.edu!sayshell.umd.edu!louie From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next.bugs Subject: Re: Group Problems w/3.0 Date: 28 Jan 1993 01:59:35 GMT Organization: The University of Maryland, College Park Lines: 35 Message-ID: <1k7em7INNn3p@ni.umd.edu> References: <1993Jan27.135357.3950@nic.csu.net> NNTP-Posting-Host: sayshell.umd.edu Keywords: Group Netinfo Problems