Add POD links (L<>) in pts.pod and symlink.pod
[openafs.git] / doc / man-pages / pod1 / pts.pod
1 =head1 NAME
2
3 pts - Introduction to the pts command suite
4
5 =head1 DESCRIPTION
6
7 The commands in the B<pts> command suite are the administrative interface
8 to the Protection Server, which runs on each database server machine in a
9 cell and maintains the Protection Database. The database stores the
10 information that AFS uses to augment and refine the standard UNIX scheme
11 for controlling access to files and directories.
12
13 Instead of relying only on the mode bits that define access rights for
14 individual files, AFS associates an access control list (ACL) with each
15 directory. The ACL lists users and groups and specifies which of seven
16 possible access permissions they have for the directory and the files it
17 contains. (It is still possible to set a directory or file's mode bits,
18 but AFS interprets them in its own way; see the chapter on protection in
19 the I<IBM AFS Administration Guide> for details.)
20
21 AFS enables users to define groups in the Protection Database and place
22 them on ACLs to extend a set of rights to multiple users simultaneously.
23 Groups simplify administration by making it possible to add someone to
24 many ACLs by adding them to a group that already exists on those
25 ACLs. Machines can also be members of a group, so that users logged into
26 the machine automatically inherit the permissions granted to the group.
27
28 There are several categories of commands in the pts command suite:
29
30 =over 4
31
32 =item *
33
34 Commands to create and remove Protection Database entries:
35 L<B<pts creategroup>|pts_creategroup(1)>,
36 L<B<pts createuser>|pts_createuser(1)>,
37 and L<B<pts delete>|pts_delete(1)>.
38
39 =item *
40
41 Commands to administer and display group membership:
42 L<B<pts adduser>|pts_adduser(1)>,
43 L<B<pts listowned>|pts_listowned(1)>,
44 L<B<pts membership>|pts_membership(1)>,
45 and L<B<pts removeuser>|pts_removeuser(1)>.
46
47 =item *
48
49 Commands to administer and display properties of user and group entries
50 other than membership:
51 L<B<pts chown>|pts_chown(1)>,
52 L<B<pts examine>|pts_examine(1)>,
53 L<B<pts listentries>|pts_listentries(1)>,
54 L<B<pts rename>|pts_rename(1)>,
55 and L<B<pts setfields>|pts_setfields(1)>.
56
57 =item *
58
59 Commands to set and examine the counters used when assigning IDs to users
60 and groups:
61 L<B<pts listmax|pts_listmax(1)>>
62 and L<B<pts setmax>|pts_setmax(1)>.
63
64 =item *
65
66 Commands to run commands interactively:
67 L<B<pts interactive>|pts_interactive(1)>,
68 L<B<pts sleep>|pts_sleep(1)>,
69 and L<B<pts quit>|pts_quit(1)>.
70
71 =item *
72
73 A command to run commands from a file:
74 L<B<pts source>|pts_source(1)>.
75
76 =item *
77
78 Commands to obtain help:
79 L<B<pts apropos|pts_apropos(1)>>
80 and L<B<pts help>|pts_help(1)>.
81
82 =back
83
84 =head1 OPTIONS
85
86 The following arguments and flags are available on many commands in the
87 B<pts> suite. The reference page for each command also lists them, but
88 they are described here in greater detail.
89
90 =over 4
91
92 =item B<-cell> <I<cell name>>
93
94 Names the cell in which to run the command. It is acceptable to abbreviate
95 the cell name to the shortest form that distinguishes it from the other
96 entries in the F</usr/vice/etc/CellServDB> file on the local machine. If
97 the B<-cell> argument is omitted, the command interpreter determines the
98 name of the local cell by reading the following in order:
99
100 =over 4
101
102 =item *
103
104 The value of the AFSCELL environment variable.
105
106 =item *
107
108 The local F</usr/vice/etc/ThisCell> file.
109
110 Do not combine the B<-cell> and B<-localauth> options. A command on which
111 the B<-localauth> flag is included always runs in the local cell (as
112 defined in the server machine's local F</usr/afs/etc/ThisCell> file),
113 whereas a command on which the B<-cell> argument is included runs in the
114 specified foreign cell.
115
116 =back
117
118 =item B<-force>
119
120 Enables the command to continue executing as far as possible when errors
121 or other problems occur, rather than halting execution immediately.
122 Without it, the command halts as soon as the first error is
123 encountered. In either case, the B<pts> command interpreter reports errors
124 at the command shell. This flag is especially useful if the issuer
125 provides many values for a command line argument; if one of them is
126 invalid, the command interpreter continues on to process the remaining
127 arguments.
128
129 =item B<-help>
130
131 Prints a command's online help message on the standard output stream. Do
132 not combine this flag with any of the command's other options; when it is
133 provided, the command interpreter ignores all other options, and only
134 prints the help message.
135
136 =item B<-noauth>
137
138 Establishes an unauthenticated connection to the Protection Server, in
139 which the server treats the issuer as the unprivileged user
140 C<anonymous>. It is useful only when authorization checking is disabled on
141 the server machine (during the installation of a file server machine or
142 when the L<B<bos setauth>|bos_setauth(8)> command has been used during
143 other unusual circumstances). In normal circumstances, the Protection
144 Server allows only privileged users to issue commands that change the
145 Protection Database, and refuses to perform such an action even if the
146 B<-noauth> flag is provided.
147
148 =item B<-encrypt>
149
150 Establishes an authenticated, encrypted connection to the Protection Server.
151 It is useful when it is desired to obscure network traffic related to the
152 transactions being done.
153
154 =item B<-localauth>
155
156 Constructs a server ticket using the server encryption key with the
157 highest key version number in the local F</usr/afs/etc/KeyFile> file. The
158 B<pts> command interpreter presents the ticket, which never expires, to
159 the BOS Server during mutual authentication.
160
161 Use this flag only when issuing a command on a server machine; client
162 machines do not usually have a F</usr/afs/etc/KeyFile> file.  The issuer
163 of a command that includes this flag must be logged on to the server
164 machine as the local superuser C<root>. The flag is useful for commands
165 invoked by an unattended application program, such as a process controlled
166 by the UNIX B<cron> utility. It is also useful if an administrator is
167 unable to authenticate to AFS but is logged in as the local superuser
168 C<root>.
169
170 Do not combine the B<-cell> and B<-localauth> options. A command on which
171 the B<-localauth> flag is included always runs in the local cell (as
172 defined in the server machine's local F</usr/afs/etc/ThisCell> file),
173 whereas a command on which the B<-cell> argument is included runs in the
174 specified foreign cell. Also, do not combine the B<-localauth> and
175 B<-noauth> flags.
176
177 =back
178
179 =head1 PRIVILEGE REQUIRED
180
181 Members of the system:administrators group can issue all B<pts> commands
182 on any entry in the Protection Database.
183
184 Users who do not belong to the system:administrators group can list
185 information about their own entry and any group entries they own. The
186 privacy flags set with the L<B<pts setfields>|pts_setfields(1)> command
187 control access to entries owned by other users.
188
189 =head1 SEE ALSO
190
191 L<pts_adduser(1)>,
192 L<pts_apropos(1)>,
193 L<pts_chown(1)>,
194 L<pts_creategroup(1)>,
195 L<pts_createuser(1)>,
196 L<pts_delete(1)>,
197 L<pts_examine(1)>,
198 L<pts_help(1)>,
199 L<pts_interactive(1)>,
200 L<pts_listentries(1)>,
201 L<pts_listmax(1)>,
202 L<pts_listowned(1)>,
203 L<pts_membership(1)>,
204 L<pts_quit(1)>,
205 L<pts_removeuser(1)>,
206 L<pts_rename(1)>,
207 L<pts_setfields(1)>,
208 L<pts_setmax(1)>,
209 L<pts_sleep(1)>,
210 L<pts_source(1)>
211
212 =head1 COPYRIGHT
213
214 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
215
216 This documentation is covered by the IBM Public License Version 1.0.  It was
217 converted from HTML to POD by software written by Chas Williams and Russ
218 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.