Date: Thu, 16 Oct 1997 15:23:46 -0400 From: "Troy Settle" <rewt@i-Plus.net> To: "Philippe SCHACK" <phschack@inba.fr>, "Wolfram Schneider" <wosch@cs.tu-berlin.de> Cc: <freebsd-isp@FreeBSD.ORG> Subject: Re: /etc/group limit Message-ID: <01bcda69$05f206a0$2ced63ce@totally.nutty.net>
next in thread | raw e-mail | index | archive | help
I solved this by not adding each user to the group file. I have a group called 'dialup' (id: 10000) that almost every user is a member of, but it's assigned through the passwd file only. I was once told the reason for why FreeBSD defaults to adding each user to his own group, but I fail to remember why. Also, I fail to understand why a user must be added to the group file if his group is already assigned in the passwd file. -- Troy Settle <st@i-Plus.net> Network Administrator, iPlus Internet Services http://www.i-Plus.net -----Original Message----- From: Wolfram Schneider <wosch@cs.tu-berlin.de> To: Philippe SCHACK <phschack@inba.fr> Cc: freebsd-isp@FreeBSD.ORG <freebsd-isp@FreeBSD.ORG> Date: Wednesday, October 15, 1997 7:54 PM Subject: Re: /etc/group limit >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?01bcda69$05f206a0$2ced63ce>