3 pts listowned - Displays the Protection Database groups owned by a user or group
7 B<pts listowned -nameorid> <I<user or group name or id>>+ [-cell <I<cell name>>]
8 [B<-noauth>] [B<-force>] [B<-help>]
10 B<pts listo -na> <I<user or group name or id>>+ [-c <I<cell name>>]
11 [B<-no>] [B<-f>] [B<-h>]
15 The pts listowned command lists the groups owned by each user or
16 group specified by the B<-nameorid> argument.
18 To list any I<orphaned group>s, whose owners have themselves been
19 deleted from the Protection Database, provide a value of B<0> (zero)
20 for the B<-nameorid> argument. To change the owner to a user or
21 group that still exists, use the B<pts chown> command.
29 Specifies the name or AFS UID of each user, or the name or AFS GID of each
30 group, for which to display the list of owned groups. It is acceptable
31 to mix users and groups on the same command line, as well as names and
32 IDs. Precede the GID of each group with a hyphen to indicate that it is
35 A value of 0 (zero) lists group entries for groups whose owners
36 no longer have entries in the Protection Database.
40 Names the cell in which to run the command. For more details, see
41 the introductory B<pts> reference page.
45 Assigns the unprivileged identity anonymous to the
46 issuer. For more details, see the introductory B<pts> reference
51 Enables the command to continue executing as far as possible when errors
52 or other problems occur, rather than halting execution at the first
57 Prints the online help for this command. All other valid options
64 The first line of the output indicates the name and AFS UID or AFS GID of
65 each user or group for which ownership information is requested, in the
68 Groups owned by I<name> (id: I<ID>) are:
70 A list of groups follows. The list does not include groups owned by
71 groups that the user or group owns, or to which the user or group
72 belongs. If the user or group does not own any groups, only the header
75 The following error message appears if the issuer is not privileged to view
76 ownership information. By default, for both user and group entries the
77 second privacy flag is the hyphen, which denies permission to anyone other
78 than the user (for a user entry) and the members of the
79 B<system:administrators> group.
81 pts: Permission denied so failed to get owner list for I<name> (id: I<ID>)
85 The following example lists the groups owned by user terry and
86 shows that the group B<terry:friends> does not own any
89 % pts listowned terry terry:friends
90 Groups owned by terry (id: 1045) are:
94 Groups owned by terry:friends (id: -673) are:
96 =head1 PRIVILEGE REQUIRED
98 The required privilege depends on the setting of the second privacy flag in
99 the Protection Database entry of each user or group indicated by the
100 B<-nameorid> argument (use the B<pts examine> command to
107 If it is the hyphen and the -nameorid argument specifies a
108 group, only the members of the B<system:administrators> group
109 and the owner of a group can list the groups it owns.
114 If it is the hyphen and the -nameorid argument specifies a
115 user, only the members of the B<system:administrators> group and
116 the associated user can list the groups he or she owns.
121 If it is uppercase letter C<O>, anyone who can access the
122 cell's database server machines can list the groups owned by this user or
137 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
139 This documentation is covered by the IBM Public License Version 1.0. It was
140 converted from HTML to POD by software written by Chas Williams and Russ
141 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.