From owner-freebsd-questions@FreeBSD.ORG Thu Aug 11 19:24:33 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E120C16A41F for ; Thu, 11 Aug 2005 19:24:33 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A71043D46 for ; Thu, 11 Aug 2005 19:24:33 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j7BJOGTf026870; Thu, 11 Aug 2005 14:24:16 -0500 (CDT) (envelope-from dan) Date: Thu, 11 Aug 2005 14:24:16 -0500 From: Dan Nelson To: scuba@centroin.com.br Message-ID: <20050811192415.GA49463@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.9i Cc: freebsd-questions@freebsd.org Subject: Re: Group size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2005 19:24:34 -0000 In the last episode (Aug 11), scuba@centroin.com.br said: > On Thu, 11 Aug 2005 scuba@centroin.com.br wrote: > | > | I'm in troble here. Is there any limit to the size o each group > | in /etc/groups. I'm moving from a BSDI machine where I used to > | authenticate some services based on groups, but Freebsd 5.4 > | seem to be limiting it to arround 1300 characters. Sorry if > | it's a known issue but it's urgent. > | > It seem that this thread is talking about the same problem, but > there were no reply. > > http://lists.freebsd.org/pipermail/freebsd-bugs/2003-May/000889.html I can't see anything in /usr/src/lib/libc/gen/getgrent.c that would limit the number of characters in /etc/group. The code uses the fgetln() function which has no maximum size limits, and previous code looks like it had a hardcoded 256KB character limit on each line. -- Dan Nelson dnelson@allantgroup.com