[652] in Info-AFS_Redistribution
Re: is there a way to get a listing of pts group names?
daemon@ATHENA.MIT.EDU (dstokes@sunlight.austin.ibm.com)
Tue Mar 10 12:03:18 1992
Date: Tue, 10 Mar 92 10:28:10 -0600
From: dstokes@sunlight.austin.ibm.com
To: info-afs@transarc.com, paulinel@ajones.austin.ibm.com
Cc: paulinel@mirage.austin.ibm.com
Pauline,
Another less elegant way to get this information is to run the
kas list command to get a list of all the ids in your cell, redirecting
the output to a file and then run a shell script something like:
exec < ./idlist
while read ID
do
pts listowned $ID >>/tmp/afs.groups
done
This will produce a list of groups and their associated owners that
looks like:
>>Groups owned by wkh (id: 1209) are:
>> rpcteam
In a cell as large as yours, this might take a while though. You
also might want to refine the script a bit to get rid of the entries
in the output file for users who don't own any groups:
>>Groups owned by carl (id: 1031) are:
>>Groups owned by dstokes (id: 1065) are:
>>Groups owned by kattawar (id: 1073) are:
They just add clutter.
Thanks, Dawn
-----------------------------------------------------------------------------
International Business Machines Internet: dstokes@dce.austin.ibm.com
11400 Burnet Rd PSP LAN: dstokes@sunlight.austin.ibm.com
Austin, TX 78758-3493 U.S.A. IBM VNET: DSTOKES at AUSVMQ
Personal Systems Programming Phone: (512) 838-3462 T/L