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