Subject: Re: id(1) flag to get group members
To: Jan Schaumann <firstname.lastname@example.org>
From: dieter roelants <dieter.NetBSD@pandora.be>
Date: 06/18/2006 00:45:43
On 06/18/06 00:38:03, Jan Schaumann wrote:
> 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
> group is the primary group of a user.)
> Does this make sense?
Perhaps it does. But you can also use 'getent group' to do that.
> Free Speech Online - Stop Internet Censorship
> --- Electronic Frontier Foundation -- http://www.eff.org ---