Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Feb 2007 09:53:14 -0600 (CST)
From:      Sergey Babkin <babkin@verizon.net>
To:        Eric Anderson <anderson@centtech.com>, freebsd-hackers@freebsd.org
Cc:        kostikbel@gmail.com
Subject:   Re: /etc/group limits (REAL limits)
Message-ID:  <29767579.4044831170863594911.JavaMail.root@vms227.mailsrvcs.net>

next in thread | raw e-mail | index | archive | help
>From: Eric Anderson <anderson@centtech.com>

>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29767579.4044831170863594911.JavaMail.root>