From owner-freebsd-isp Thu Oct 16 12:20:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA19495 for isp-outgoing; Thu, 16 Oct 1997 12:20:36 -0700 (PDT) (envelope-from owner-freebsd-isp) Received: from radford.i-plus.net (root@Radford.i-Plus.net [206.99.237.6]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA19488 for ; Thu, 16 Oct 1997 12:20:29 -0700 (PDT) (envelope-from rewt@i-Plus.net) Received: from totally.nutty.net (insane@dead.i-Plus.net [206.99.237.44]) by radford.i-plus.net (8.8.6/8.8.5) with SMTP id PAA13498; Thu, 16 Oct 1997 15:18:43 -0400 (EDT) Reply-To: "Troy Settle" From: "Troy Settle" To: "Philippe SCHACK" , "Wolfram Schneider" Cc: Subject: Re: /etc/group limit Date: Thu, 16 Oct 1997 15:23:46 -0400 Message-ID: <01bcda69$05f206a0$2ced63ce@totally.nutty.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I solved this by not adding each user to the group file. I have a group called 'dialup' (id: 10000) that almost every user is a member of, but it's assigned through the passwd file only. I was once told the reason for why FreeBSD defaults to adding each user to his own group, but I fail to remember why. Also, I fail to understand why a user must be added to the group file if his group is already assigned in the passwd file. -- Troy Settle Network Administrator, iPlus Internet Services http://www.i-Plus.net -----Original Message----- From: Wolfram Schneider To: Philippe SCHACK Cc: freebsd-isp@FreeBSD.ORG Date: Wednesday, October 15, 1997 7:54 PM Subject: Re: /etc/group limit >Philippe SCHACK writes: >> It seems there is a limit for the maximum length of the /etc/group file of >> 1024 bytes after which the command chgrp answer 'illegal group name'. > >There is a 1024 character and a 200 member limit in FreeBSD 2.x >See also group(5). > > >> Is there something to change to avoid it ? > >a) define a larger buffer in src/lib/libc/gen/getgrent.c, e.g. 8192 >chars, and recompile your libc. > >b) update to FreeBSD-current ;-) > >-- >Wolfram Schneider http://www.apfel.de/~wosch/ >