Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!insync!enews.sgi.com!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: no of groups Date: 25 Oct 1996 21:59:13 GMT Organization: Private BSD site, Dresden Lines: 25 Message-ID: <54rd7h$9ta@uriah.heep.sax.de> References: <326CDF62.41C67EA6@corpex.com> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Neil Fowler Wright <neil@corpex.com> wrote: > What is the maximum number of groups that you can have in the > /etc/groups file under FreeBSD 2.1 (does this change unded 2.1.5 / 2.2) It doesn't change. > Also what is the maximum length of a line in the /etc/groups > file, and is there a way of getting round such a limit. /usr/src/lib/libc/gen/getgrent.c says: #define MAXGRP 200 static char *members[MAXGRP]; #define MAXLINELENGTH 1024 static char line[MAXLINELENGTH]; So now you should know what to change... -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)