Long records in /etc/group file.

co-op cep at cci632.UUCP
Thu Sep 6 02:31:38 AEST 1990


In article <1990Sep3.004000.4711 at ccu1.aukuni.ac.nz> russell at ccu1.aukuni.ac.nz (Russell J Fulton;ccc032u) writes:
>
>We want to restrict access to certain resources to members of one or other
>of these groups. My first approach to this was to make a group not-ugrd that
>included all non undergraduates ( aprox 500) but YP bitched about the line
>in the /etc/group file being too long.

You SHOULDN'T have to have a discreet entry for each person in /etc/group -
the approach you want to take is to modify the group field of each entry in
/etc/passwd.  From the description of the setup you want, individual users
should rarely (if EVER) have to change between groups.  If the BSD'isms
you are talking about support multiple group membership, then /etc/group
should only contain the EXCEPTIONS.

Does this help?

Chris



More information about the Comp.unix.admin mailing list