Subject: Re: Support for ACLs
To: Phil Nelson <>
From: Olaf Seibert <>
List: tech-kern
Date: 03/13/2001 15:34:06
On Thu 08 Mar 2001 at 10:50:42 -0800, Phil Nelson wrote:
> 2) Under the current implementation in NetBSD, a user may belong
> to a maximum of 16 groups.  Let me quote <sys/syslimits.h>
> #define NGROUPS_MAX                16   /* max supplemental group id's */

In v7, one user could be in any number of groups but only one at a time.
There was a (presumably shell-builtin) command to switch to any group
one belonged to (setgrp, I think). BSD introduced the feature of being
in multiple groups at once, and the setgrp command disappeared.

Perhaps it is useful to revive the old idea for the time being but
setting multiple groups at once. There is a setgroups(2) system call,
but the caller needs to be root though. 

___ Olaf 'Rhialto' Seibert - rhialto@polder --Soep van de dag, wat zal dat zijn
\X/     --wat kan dat wezen, beter maar het ergste vrezen -Boy Bensdorp