man1-editing-pass-20051209
[openafs.git] / doc / man-pages / pod1 / pts_chown.pod
1 =head1 NAME
2
3 pts chown - Changes the owner of a Protection Database entry
4
5 =head1 SYNOPSIS
6
7 B<pts chown> B<-name> <I<group name>> B<-owner> <I<new owner>> 
8     [B<-cell> <I<cell name>>] [B<-noauth>] [B<-force>] [B<-help>]
9
10 B<pts cho> B<-na> <I<group name>> B<-o> <I<new owner>>
11     [B<-c> <I<cell name>>] [B<-no>] [B<-f>] [B<-h>]
12
13 =head1 DESCRIPTION
14
15 The B<pts chown> command designates the user or group named by the
16 B<-owner> argument as the owner of the group named by the B<-name>
17 argument, and records the new owner in the owner field of the group's
18 Protection Database entry.
19
20 In the case of regular groups, this command automatically changes the
21 group name's owner prefix (the part of the group name before the colon) to
22 match the new owner. If the new owner is itself a group, then only its
23 owner prefix, not its complete name, becomes the owner prefix in the new
24 name. The change to the owner prefix does not propagate to any groups
25 owned by the group, however. To make the owner prefix of such group-owned
26 groups reflect the new owning group, use the B<pts rename> command.
27
28 It is not possible to change a user or machine entry's owner from the
29 default set at creation time, the system:administrators group.
30
31 =head1 CAUTIONS
32
33 While designating a machine as a group's owner does not cause an error, it
34 is not recommended. The Protection Server does not extend the usual
35 privileges of group ownership to users logged onto the machine.
36
37 =head1 OPTIONS
38
39 =over 4
40
41 =item B<-name> <I<group name>>
42
43 Specifies the current name of the group to which to assign a new owner.
44
45 =item B<-owner> <I<new owner>>
46
47 Names the user or group to become the group's owner.
48
49 =item B<-cell> <I<cell name>>
50
51 Names the cell in which to run the command. For more details, see
52 L<pts(1)>.
53
54 =item B<-noauth>
55
56 Assigns the unprivileged identity anonymous to the issuer. For more
57 details, see L<pts(1)>.
58
59 =item B<-force>
60
61 Enables the command to continue executing as far as possible when errors
62 or other problems occur, rather than halting execution at the first error.
63
64 =item B<-help>
65
66 Prints the online help for this command. All other valid options are
67 ignored.
68
69 =back
70
71 =head1 EXAMPLES
72
73 The following example changes the owner of the group C<terry:friends> from
74 the user C<terry> to the user C<pat>. A side effect is that the group name
75 changes to C<pat:friends>.
76
77    % pts chown -name terry:friends -owner pat
78
79 The following example changes the owner of the group C<terry:friends> from
80 the user C<terry> to the group C<pat:buddies>. A side effect is that the
81 group name changes to C<pat:friends>.
82
83    % pts chown -name terry:friends -owner pat:buddies
84
85 =head1 PRIVILEGE REQUIRED
86
87 The issuer must belong to the system:administrators group or currently own
88 the group.
89
90 =head1 SEE ALSO
91
92 L<pts(1)>,
93 L<pts_rename(1)>
94
95 =head1 COPYRIGHT
96
97 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
98
99 This documentation is covered by the IBM Public License Version 1.0.  It was
100 converted from HTML to POD by software written by Chas Williams and Russ
101 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.