Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!uwvax!oddjob!gargoyle!ihnp4!occrsh!occrsh.ATT.COM!rjd
From: rjd@occrsh.ATT.COM
Newsgroups: comp.unix.wizards
Subject: Re: leaving users out of login group
Message-ID: <142700004@occrsh.ATT.COM>
Date: Fri, 4-Dec-87 15:13:00 EST
Article-I.D.: occrsh.142700004
Posted: Fri Dec  4 15:13:00 1987
Date-Received: Thu, 10-Dec-87 21:40:40 EST
References: <2652@tut.cis.ohio-state.edu>
Lines: 15
Nf-ID: #R:tut.cis.ohio-state.edu:-265200:occrsh.ATT.COM:142700004:000:702
Nf-From: occrsh.ATT.COM!rjd    Dec  4 14:13:00 1987


> My question:  Has  anyone tried leaving users _out_ of their login
> group in /etc/group to reduce the size of the group file?  

  Well, on AT&T Sys V, the group file is used just to define the
alpha string associated with the group number and for the "newgrp"
command to allow a person not logged into the group to change to that
group.  So, if you do not log into the group and need to get into the
group (and realy DO want to use "newgrp"), you must have your login id
there to accept it.
  If you log into the group, though, you are already allowed by the
passwd file entry, so the group file line does not need to have your
loginid in it, unless you newgrp away and want to newgrp back.

Randy