limity pre /etc/group

Martin Horcicka horcicka at freebsd.cz
Tue Jul 9 11:43:21 CEST 2002


Ahoj,

Ladislav Kostal (2002-07-09 11:03 +0200):

> Kedysi som nieco robil s NIS na FreeBSD a narazil som na limit pre zaznamy v
> /etc/group. Ako som tak hladal na konferenciach, malo by to byt 200 clenov
> pre skupinu a 1024 znakov na riadok. Plati to este? Ak to potrebujem zmenit,
> postaci zmena konstant pre funkciu getgrent() alebo je to zlozitejsie?

v group(5) pisou:

In older implementations, a group cannot have more than 200 members.  The
maximum line length of /etc/group is 1024 characters.  Longer lines will
be skipped.  This limitation disappeared in FreeBSD 3.0.  Older binaries
that are statically linked, depend on old shared libraries, or
non-FreeBSD binaries in compatibility mode may still have this limits.

Skoro bych cekal, ze alespon tam jsi se dival. ;-)

Martin




More information about the Users-l mailing list