Subject: Re: id(1) flag to get group members
To: None <tech-userlevel@netbsd.org>
From: Christoph Kaegi <kgc@zhwin.ch>
List: tech-userlevel
Date: 06/21/2006 13:10:55
On 17.06-18:38, Jan Schaumann wrote:
> Hi,
>
> I've on occasion had the need for a tool that tells me the users in a
> given group. Sure, I could manually look at /etc/group or the NIS
> database, but it seemed to me like id(1) should be able to do that.
>
> The attached patch provides a flag for id(1) to get a groups members.
> (This only lists users who are in the supplementary group, not where the
> group is the primary group of a user.)
>
> Does this make sense?
I'd find it handy.
Chris
--
----------------------------------------------------------------------
Christoph Kaegi kgc@zhwin.ch
----------------------------------------------------------------------