Subject: bin/11047: newgrp is missing
To: None <gnats-bugs@gnats.netbsd.org>
From: Paul Sander <paul@wakawaka.com>
List: netbsd-bugs
Date: 09/19/2000 19:55:21
>Number:         11047
>Category:       bin
>Synopsis:       The newgrp command is missing
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 19 20:01:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Paul Sander
>Release:        <NetBSD-current source date>NetBSD 1.4.1
>Organization:
Paul Sander
	
>Environment:
	
System: NetBSD bugs 1.4 NetBSD 1.4 (GENERIC) #0: Sat May 8 20:54:59 PDT 1999 root2@c610:/usr/src/sys/arch/mac68k/compile/GENERIC mac68k


>Description:
	
	The historic newgrp command is missing.  This allows the user to
	spawn a shell with a new primary group.  This capability remains useful
	despite other solutions involving setid bits on directories.  It provides
	better compatibility with other systems where interoperability and
	sharing of scripts are concerns.
>How-To-Repeat:
	
	which newgrp
	ls {/usr/bin,/bin,/usr/sbin,/sbin}/newgrp
>Fix:
	
	Recover the old newgrp sources from the NetBSD archives (e.g. on
	gatekeeper), compile, and distribute the binary and man page.
>Release-Note:
>Audit-Trail:
>Unformatted: