[OpenAFS] Getting all members of all groups

Jason Edgecombe jason@rampaginggeek.com
Mon, 13 Feb 2012 19:56:08 -0500


On 02/12/2012 02:41 PM, Jeffrey Altman wrote:
> There is not one.  The easiest thing to do would be to write a patch for
> a -numeric option that would list entries by number and not perform the
> number to name translation before output.
>
> On 2/12/2012 12:23 PM, Jason Edgecombe wrote:
>> Hi everyone,
>>
>> I need a list of the members of all of my groups. I know that "pts
>> listentries -groups" gives me the groups and that "pts membership
>> --expandgroups" will give me group membership, but I have groups with
>> spaces and possibly other shell metacharacters.
>>
>> Does pts have something like GNU find's "-print0" option to help with
>> this. Is there another way that I can get a well-structured list of
>> group membership?
>>
>> Thanks,
>> Jason
Thanks to Jeff & Derrick, I ended up using pt_util. I was convinced 
after a test that showed groups within groups (supergroups).