Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site ncoast.UUCP
Path: utzoo!linus!decvax!cwruecmp!atvax!ncoast!bsa
From: bsa@ncoast.UUCP (The WITNESS)
Newsgroups: net.unix
Subject: Re: newgrp(1) - inconsistent
Message-ID: <216@ncoast.UUCP>
Date: Mon, 6-Aug-84 13:59:11 EDT
Article-I.D.: ncoast.216
Posted: Mon Aug  6 13:59:11 1984
Date-Received: Thu, 9-Aug-84 00:58:20 EDT
References: <753@aecom.UUCP> <4974@utcsrgv.UUCP>
Organization: North Coast XENIX, Cleveland
Lines: 18

Maybe a "sg" command should be supplied, analogous to su.  On our system,
certain users have access to a special group "prckill" which is used only
temporarily (for security reasons on dialup lines) to forcibly logout abusive
public-access users of the system without giving out the root password.  (It
allows use of a root-setuid, group-only execute file.)  Currently, to use it
I use an alias in my csh:

alias drop '(echo "hangup \!*" | newgrp prckill)'

but most users on our system are not willing to put up with the old (2.9?)
csh we have, or for various reasons do not wish to run csh, and it would be
much easier to say "sg prckill -c 'hangup ...'" than to have to play games
with newgrp.
-- 
		Brandon Allbery: decvax!cwruecmp{!atvax}!bsafw
		  6504 Chestnut Road, Independence, OH 44131

		  Witness, n.  To watch and learn, joyously.