3 bos_setcellname - Sets the cell's name in ThisCell and CellServDB
10 B<bos setcellname> S<<< B<-server> <I<machine name>> >>> S<<< B<-name> <I<cell name>> >>>
11 S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>] [B<-localauth>] [B<-help>]
13 B<bos setc> S<<< B<-s> <I<machine name>> >>> S<<< B<-n> <I<cell name>> >>>
14 S<<< [B<-c> <I<cell name>>] >>> [B<-n>] [B<-l>] [-h]
21 The B<bos setcellname> command establishes the cell's name and makes the
22 server machine named by the B<-server> argument a member of it, by
23 recording the value of the B<-name> argument in two files which it creates
30 F</usr/afs/etc/ThisCell>
34 F</usr/afs/etc/CellServDB>. The cell name appears on the first line in the
35 file, preceded by the required C<< > >> symbol. The machine name
36 specified with the B<-server> argument appears on the second line along
37 with its IP address as obtained from the cell's naming service. The
38 machine is thus designated as the cell's first database server machine.
44 Issue this command only when the installing the cell's first AFS server
45 machine. The I<OpenAFS Quick Start Guide> explains how to copy over the
46 F<ThisCell> and F<CellServDB> files from this or another appropriate
47 machine during installation of additional server machines.
49 Be sure to choose a satisfactory cell name when issuing this command,
50 because changing a cell's name is very complicated; for one thing, it
51 requires changing every password in the Authentication Database. Consult
52 the I<OpenAFS Administration Guide> for advice on choosing a cell name.
58 =item B<-server> <I<machine name>>
60 Indicates the server machine on which to set the cell name in the
61 F<ThisCell> and F<CellServDB> file. It is always the first machine
62 installed in a cell. Identify the machine by IP address or its host name
63 (either fully-qualified or abbreviated unambiguously). For details, see
66 =item B<-name> <I<cell name>>
68 Defines the cell name, using standard Internet domain name format (the
69 actual domain name is usually appropriate). Examples are C<example.com> for
70 the Example Corporation and C<example.org> for the Example Organization. It must
71 match the value of the B<-cell> argument, if that is provided.
73 =item B<-cell> <I<cell name>>
75 Names the cell in which to run the command. Do not combine this argument
76 with the B<-localauth> flag. For more details, see L<bos(8)>.
80 Assigns the unprivileged identity C<anonymous> to the issuer. Do not
81 combine this flag with the B<-localauth> flag. For more details, see
86 Constructs a server ticket using a key from the local
87 F</usr/afs/etc/KeyFile> file. The B<bos> command interpreter presents the
88 ticket to the BOS Server during mutual authentication. Do not combine this
89 flag with the B<-cell> or B<-noauth> options. For more details, see
94 Prints the online help for this command. All other valid options are
101 The following command defines the cell name C<example.com> in the F<ThisCell>
102 and F<CellServDB> files on the machine C<fs1.example.com> as it is installed
103 as the cell's first server machine.
105 % bos setcellname -server fs1.example.com -name example.com
107 =head1 PRIVILEGE REQUIRED
109 Authorization checking is normally turned off during installation, which
110 is the only recommended time to use this command; in this case no
111 privilege is required. If authorization checking is turned on, the issuer
112 must be listed in the F</usr/afs/etc/UserList> file on the machine named
113 by the B<-server> argument, or must be logged in as the local superuser
114 C<root> if the B<-localauth> flag is included.
124 The I<OpenAFS Quick Start Guide> at
125 L<http://docs.openafs.org/QuickStartUnix/>.
127 The I<OpenAFS Administration Guide> at
128 L<http://docs.openafs.org/AdminGuide/>.
132 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
134 This documentation is covered by the IBM Public License Version 1.0. It was
135 converted from HTML to POD by software written by Chas Williams and Russ
136 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.