From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 7 15:54:00 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 395A816A408 for ; Wed, 7 Feb 2007 15:54:00 +0000 (UTC) (envelope-from babkin@verizon.net) Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by mx1.freebsd.org (Postfix) with ESMTP id 1B92013C428 for ; Wed, 7 Feb 2007 15:54:00 +0000 (UTC) (envelope-from babkin@verizon.net) Received: from vms227.mailsrvcs.net ([192.168.1.2]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JD300LA8O4Q83XV@vms040.mailsrvcs.net> for freebsd-hackers@freebsd.org; Wed, 07 Feb 2007 09:53:15 -0600 (CST) Received: from 208.253.138.194 ([208.253.138.194]) by vms227.mailsrvcs.net (Verizon Webmail) with HTTP; Wed, 07 Feb 2007 09:53:14 -0600 (CST) Date: Wed, 07 Feb 2007 09:53:14 -0600 (CST) From: Sergey Babkin X-Originating-IP: [208.253.138.194] To: Eric Anderson , freebsd-hackers@freebsd.org Message-id: <29767579.4044831170863594911.JavaMail.root@vms227.mailsrvcs.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Mailman-Approved-At: Wed, 07 Feb 2007 16:05:57 +0000 Cc: kostikbel@gmail.com Subject: Re: /etc/group limits (REAL limits) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: babkin@users.sf.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2007 15:54:00 -0000 >From: Eric Anderson >On one of my boxes where I have a decent amount of (less than 50) users >in a few groups, I finally hit the limit. Not 1024 bytes though (that I >know of). When that happens though, it is sooner than expected, and >tools (like 'id') seg fault (and core dump). > >I have a sample group, and it appears to be hitting the byte limit. If >I add a single additional character to the group, it will break things. > It appears to be a combination of multiple groups. > >Can someone with some experience in this area comment? I can send the >group file itself if needed. The traditional workaround for the 1024 bytes limit is to have multiple lines for the same group, for example: group1:x:100:user1,user2,user3 group1:x:100:user4,user5,user6 Note that everything except the list of the users is the same on all the lines. It might work for you too. -SB