Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!lsuc!dave From: dave@lsuc.UUCP Newsgroups: comp.unix.wizards Subject: Re: leaving users out of login group Message-ID: <1987Dec7.212215.8782@lsuc.uucp> Date: Mon, 7-Dec-87 21:22:13 EST Article-I.D.: lsuc.1987Dec7.212215.8782 Posted: Mon Dec 7 21:22:13 1987 Date-Received: Sat, 12-Dec-87 11:20:22 EST References: <2652@tut.cis.ohio-state.edu> Reply-To: dave@lsuc.UUCP (David Sherman) Distribution: na Organization: Law Society of Upper Canada, Toronto Lines: 21 Summary: /etc/group not used for login purposes cml@tut.cis.ohio-state.edu (Christopher Lott) writes: > >My question: Has anyone tried leaving users _out_ of their login >group in /etc/group to reduce the size of the group file? In v7 and any of its derivatives (perhaps all), login does not look at /etc/group. Your group number is set in your /etc/passwd entry. /etc/group is used: (a) to assign a name to that group for purposes of ls -lg and similar needs; and (b) to permit newgrp and similar mechanisms for changing your "current" group. (Yes, I know 4.xBSD does this part differently.) We have lots of users whose login names don't appear in their group files. David Sherman The Law Society of Upper Canada Toronto -- { uunet!mnetor pyramid!utai decvax!utcsri ihnp4!utzoo } !lsuc!dave Pronounce it ell-ess-you-see, please...