doc: Windows Release Notes Integrated Logon
[openafs.git] / doc / man-pages / pod1 / pts_chown.pod.in
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<-localauth>] [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<-l>] [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 =include fragments/pts-common.pod
56
57 =back
58
59 =head1 EXAMPLES
60
61 The following example changes the owner of the group C<terry:friends> from
62 the user C<terry> to the user C<pat>. A side effect is that the group name
63 changes to C<pat:friends>.
64
65    % pts chown -name terry:friends -owner pat
66
67 The following example changes the owner of the group C<terry:friends> from
68 the user C<terry> to the group C<pat:buddies>. A side effect is that the
69 group name changes to C<pat:friends>.
70
71    % pts chown -name terry:friends -owner pat:buddies
72
73 =head1 PRIVILEGE REQUIRED
74
75 The issuer must belong to the system:administrators group or currently own
76 the group.
77
78 =head1 SEE ALSO
79
80 L<pts(1)>,
81 L<pts_rename(1)>
82
83 =head1 COPYRIGHT
84
85 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
86
87 This documentation is covered by the IBM Public License Version 1.0.  It was
88 converted from HTML to POD by software written by Chas Williams and Russ
89 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.