Path: utzoo!utgpu!water!watmath!clyde!att!ulysses!hector!ekrell From: ekrell@hector.UUCP (Eduardo Krell) Newsgroups: comp.unix.wizards Subject: Re: What are the ramifications of increasing NGROUPS? Message-ID: <10573@ulysses.homer.nj.att.com> Date: 2 Sep 88 23:55:34 GMT References: <21258@tut.cis.ohio-state.edu> Sender: netnews@ulysses.homer.nj.att.com Reply-To: ekrell@hector.UUCP (Eduardo Krell) Organization: AT&T Bell Laboratories Lines: 20 In article <21258@tut.cis.ohio-state.edu> karl@triceratops.cis.ohio-state.edu (Karl Kleinpaste) writes: >I am inclined to send NGROUPS up quite a ways, possibly to 100 or >higher. >Can I get away with recompiling just the kernel and >/bin/login? I don't think so since the groups are kept in the user structure. You would have to recompile anything that depends on the size of the user structure. >I have never examined the implementation of BSD's multiple groups >concept closely; this is my first serious approach to this area. You should consider the fact that it's just an array that gets searched lineary. Linear search is OK with 8 or 20 groups, but 100? Eduardo Krell AT&T Bell Laboratories, Murray Hill, NJ UUCP: {att,decvax,ucbvax}!ulysses!ekrell Internet: ekrell@ulysses.att.com