Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod5 / ThisCell.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3ThisCell - Defines the local cell name
4
5=head1 DESCRIPTION
6
7The F<ThisCell> file defines the local cell name. There are two versions
8of this file, one for a AFS client and one for an AFS server.
9
10=head2 Client ThisCell
11
12The client version of the F<ThisCell> file defines the complete Internet
13domain-style name (for example, C<example.com>) of the cell to which the local
14client machine belongs. It must reside in the F</usr/vice/etc> directory
15on every AFS client machine. To change a client machine's cell membership,
16edit the file and reboot the machine.
17
18The file is in ASCII format and contains a character string on a single
19line. The I<OpenAFS Quick Start Guide> instructs the administrator to
20create it during the installation of each client machine.
21
22The client machine's cell membership determines three defaults important
23to its functioning:
24
25=over 4
26
27=item *
28
29The cell in which the machine's users authenticate by default. The effect
30is two-fold:
31
32=over 4
33
34=item *
35
36The AFS-modified login utilities and the klog command interpreter contact
37an Authentication Server in the cell named in the F<ThisCell> file (unless
38B<-cell> argument to the B<klog> command specifies an alternate cell).
39
40=item *
41
42The command interpreters combine the cell name with the password that the
43user provides, generating an encryption key from the combination. For
44authentication to succeed, both the cell name and password must match the
45ones used to generate the user's encryption key stored in the
46Authentication Database.
47
48=back
49
50=item *
51
52The cell the Cache Manager considers its local, or home, cell. By default,
53the Cache Manager allows programs that reside in its home cell to run with
54setuid permission, but not programs from foreign cells. For more details,
55see the B<fs getcellstatus> and B<fs setcell> reference pages.
56
57=item *
58
59Which AFS server processes the local AFS command interpreters contact by
60default as they execute commands issued on the machine.
61
62=back
63
64The client version of the F<ThisCell> file is distinct from the server
65version, which resides in the F</usr/afs/etc> directory on each AFS server
66machine. If a server machine also runs as a client, it is acceptable for
67the server and client versions of the file on the same machine to name
68different cells. However, the behavior that results from this
69configuration can be more confusing than useful.
70
71=head2 Server ThisCell
72
73The server version of the F<ThisCell> file defines the complete Internet
74domain-style name (for example, C<example.com>) of the cell to which the
75server machine belongs. It must reside in the F</usr/afs/etc> directory on
76every AFS server machine.
77
78The file is in ASCII format and contains a character string on a single
79line. The initial version of the file is created with the B<bos
80setcellname> command during the installation of the cell's first file
81server machine, and the I<OpenAFS Quick Start Guide> includes instructions
82for copying it over to additional server machine during their
83installation.
84
85The only reason to edit the file is as part of changing the cell's name,
86which is strongly discouraged because of the large number of configuration
87changes involved. In particular, changing the cell name requires
88rebuilding the entire Authentication Database, because the Authentication
89Server combines the cell name it finds in this file with each user and
90server password and converts the combination into an encryption key before
91recording it in the Database.
92
93=head1 SEE ALSO
94
95L<bos_setcellname(8)>,
96L<fs_getcellstatus(1)>,
97L<fs_setcell(1)>
98
99=head1 COPYRIGHT
100
101IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
102
103This documentation is covered by the IBM Public License Version 1.0. It was
104converted from HTML to POD by software written by Chas Williams and Russ
105Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.