Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 1996 18:03:52 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        clary@s4.elec.uq.edu.au (Clary Harridge)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /etc/group entry overflow problem
Message-ID:  <199604020833.SAA13427@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199604020642.QAA29974@s4.elec.uq.edu.au> from "Clary Harridge" at Apr 2, 96 04:42:24 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Clary Harridge stands accused of saying:
> 
> I am having trouble with my entries in /etc/group
> 
> I have 3 group entries with a large number of users in each group

As a general rule, you shouldn't be doing this.  You may be
having problems with the 'adduser' script, which insists on listing users
in their default group (which is unnecessary).

> I am not sure what `ls' is using to look in /etc/group

probably getgrent() and friends.

> 	Is there some central place where I can increase this limit, to
> say 4096 chars, so that all utilities that want to access /etc/group
> will be aware of the new limit?

Frob getgrent() and friends in libc, rebuild your libraries and any static
binaries that use it.

> Clary Harridge		University of Queensland, QLD, Australia, 4072

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



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