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