Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod8 / upserver.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3upserver - Initializes the server portion of the Update Server
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<upserver> [<I<directory>>+] S<<< [B<-crypt> <I<directory>>+] >>>
11 S<<< [B<-clear> <I<directory>>+] >>> S<<< [B<-auth> <I<directory>>+] >>>
12 [B<-rxbind>] [B<-help>]
13
14=for html
15</div>
16
17=head1 DESCRIPTION
18
19The B<upserver> command initializes the server portion of the Update
20Server (the C<upserver> process). In the conventional configuration, its
21binary file is located in the F</usr/afs/bin> directory on a file server
22machine.
23
24The B<upserver> command is not normally issued at the command shell prompt
25but rather placed into a file server machine's F</usr/afs/local/BosConfig>
26file with the B<bos create> command. If it is ever issued at the command
27shell prompt, the issuer must be logged onto a database server machine as
28the local superuser C<root>.
29
30The B<upserver> command specifies which of the directories on the local
31disk are eligible for distribution in response to requests from the client
32portion of the Update Server (the B<upclient> process) running on other
33machines. If no directories are specified, the B<upserver> process
34distributes the contents of any directory on its local disk.
35
36The B<upserver> process can distribute a directory's contents in encrypted
37or unencrypted form. By default, it does not use encryption unless an
38B<upclient> process requests it (this default is equivalent to setting the
39B<-clear> flag). When the B<-crypt> flag is provided, the B<upserver>
40process only fulfills requests for encrypted transfer.
41
42The B<upclient> and B<upserver> processes always mutually authenticate,
43whether or not the data they pass is encrypted; they use the key with the
44highest key version number in the F</usr/afs/etc/KeyFile> file to
45construct a server ticket for mutual authentication.
46
47This command does not use the syntax conventions of the AFS command
48suites. Provide the command name and all option names in full.
49
50=head1 CAUTIONS
51
52Do not use the Update Server to distribute the contents of the
53F</usr/afs/etc> directory without the B<-crypt> flag. The contents of
54this directory are sensitive.
55
56=head1 OPTIONS
57
58=over 4
59
60=item <I<directory>>+
61
62Names each directory to distribute in unencrypted form (because they
63appear before the first B<-crypt> or B<-clear> flag on the command
64line). If this argument is omitted, all directories on the machine's local
65disk are eligible for distribution.
66
67=item B<-crypt> <I<directory>>+
68
69Precedes a list of one or more directories that the B<upserver> process
70distributes only in encrypted form.
71
72=item B<-clear> <I<directory>>+
73
74Precedes a list of one or more directories that the B<upserver> process
75distributes in unencrypted form unless the B<upclient> process requests
76them in encrypted form. Use this argument only if a list of directories
77headed by the B<-crypt> flag precedes it on the command line.
78
79=item B<-auth> <I<directory>>+
80
81Precedes a list of one or more directories which the upserver process
82distributes using a form of encryption that is intermediate in complexity
83and security between the unencrypted and encrypted levels set by the
84B<-clear> and B<-crypt> arguments. Do not use this argument, because the
85B<upclient> process does not have a corresponding argument that it can use
86to request data transfer at this level.
87
88=item B<-rxbind>
89
90Bind the Rx socket to the primary interface only. (If not specified, the Rx
91socket will listen on all interfaces.)
92
93=item B<-help>
94
95Prints the online help for this command. All other valid options are
96ignored.
97
98=back
99
100=head1 EXAMPLES
101
102The following example bos create command defines and starts an B<upserver>
103process on the host machine C<fs1.example.com>. The last parameter (enclosed
104in quotes) instructs the B<upserver> process to distribute the contents of
105the F</usr/afs/bin> directory in unencrypted form and the contents of the
106F</usr/afs/etc> directory in encrypted form.
107
108 % bos create -server fs1.example.com -instance upserver -type simple \
109 -cmd "/usr/afs/bin/upserver /usr/afs/bin -crypt /usr/afs/etc"
110
111=head1 PRIVILEGE REQUIRED
112
113The issuer must be logged in as the superuser C<root> on a file server
114machine to issue the command at a command shell prompt. It is conventional
115instead to create and start the process by issuing the B<bos create>
116command.
117
118=head1 SEE ALSO
119
120L<BosConfig(5)>,
121L<bos_create(8)>,
122L<upclient(8)>
123
124=head1 COPYRIGHT
125
126IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
127
128This documentation is covered by the IBM Public License Version 1.0. It was
129converted from HTML to POD by software written by Chas Williams and Russ
130Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.