Subject: Re: bin/11047: newgrp is missing
To: None <tech-userlevel@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-userlevel
Date: 04/26/2002 23:00:35
On Fri, Apr 26, 2002 at 03:36:03PM -0600, Rick Kelly wrote:
> 
> The newgrp command happens to be one of the things that I dislike about
> SYSV.

But all modern SYSV implementations support groups the same way
netbsd (and solaris) do.  The only thing newgrp does is to
change the grouop that files are created with.

OTOH it might be useful to remove the kernel limit on the number
of groups a process can be in.

(Also why is root always explicitly listed in somany groups?
Traditional root privileges mean it doesn't need to be in any
groups - putting root in many groups just makes daemons that call
setuid and setgid but not setgroups leave their children
with additional privileges.)

Shouldn't the setgroups(2) and setuid(2) mann pages cross
refer to each other?

	David

-- 
David Laight: david@l8s.co.uk