Skip site navigation (1)Skip section navigation (2)
Date:      16 Oct 1997 01:16:25 +0200
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        Philippe SCHACK <phschack@inba.fr>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: /etc/group limit
Message-ID:  <p1ivhyylira.fsf@panke.panke.de>
In-Reply-To: Philippe SCHACK's message of Wed, 15 Oct 1997 20:34:48 %2B0200
References:  <3.0.1.32.19971015203448.0086a6a0@mail.inba.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
Philippe SCHACK <phschack@inba.fr> 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   <wosch@apfel.de>   http://www.apfel.de/~wosch/



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