home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / next / bugs / 71 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.6 KB

  1. Path: sparky!uunet!charon.amdahl.com!amdahl!rtech!pacbell.com!sgiblab!darwin.sura.net!haven.umd.edu!ni.umd.edu!sayshell.umd.edu!louie
  2. From: louie@sayshell.umd.edu (Louis A. Mamakos)
  3. Newsgroups: comp.sys.next.bugs
  4. Subject: Re: Group Problems w/3.0
  5. Date: 28 Jan 1993 01:59:35 GMT
  6. Organization: The University of Maryland, College Park
  7. Lines: 35
  8. Message-ID: <1k7em7INNn3p@ni.umd.edu>
  9. References: <1993Jan27.135357.3950@nic.csu.net>
  10. NNTP-Posting-Host: sayshell.umd.edu
  11. Keywords: Group Netinfo Problems
  12.  
  13. In article <1993Jan27.135357.3950@nic.csu.net> vqueved@nextlab.calstatela.edu writes:
  14. >Is there any on that is running into the Limit of:
  15. >
  16. >    A single user cannot belong to more than 14 groups.
  17. >
  18. >I send out some email about this and responses indicated that it was
  19. >a problem with NetInfo only allowing 14 groups per user.
  20.  
  21. It is not a problem with NetInfo.  It is a compiled in limit of the
  22. UNIX kernel.  If you look at /NextDeveloper/Headers/bsd/sys/param.h
  23. (otherwise found in /usr/include/sys/param.h on sane computers),
  24. you'll find:
  25.  
  26. #define NGROUPS 16              /* max number groups */
  27.  
  28. If you RTFM 'man 2 getgroups':
  29.  
  30. NAME
  31.      setgroups - set group access list
  32.  
  33. DESCRIPTION
  34.      Setgroups sets the group access list of the current user
  35.      process according to the array gidset.  The parameter
  36.      ngroups indicates the number of entries in the array and
  37.      must be no more than NGROUPS, as defined in <sys/param.h>.
  38.  
  39.  
  40. >Is there anyway to modify a file/profile/"sys_rc" file to allow up to 35  
  41. >groups?
  42.  
  43. Nope.  You'd have to rebuild the UNIX kernel.  I'm very surprised that
  44. 16 groups isn't enough; perhaps you're not using them very
  45. effectively?
  46.  
  47. Louis Mamakos
  48.