1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id="bos_setcellname8">
4 <refentrytitle>bos setcellname</refentrytitle>
5 <manvolnum>8</manvolnum>
8 <refname>bos setcellname</refname>
9 <refpurpose>Sets the cell's name in ThisCell and CellServDB</refpurpose>
12 <title>Synopsis</title>
13 <para><emphasis role="bold">bos setcellname</emphasis> <emphasis role="bold">-server</emphasis> <<emphasis>machine name</emphasis>> <emphasis role="bold">-name</emphasis> <<emphasis>cell name</emphasis>>
14 [<emphasis role="bold">-cell</emphasis> <<emphasis>cell name</emphasis>>] [<emphasis role="bold">-noauth</emphasis>] [<emphasis role="bold">-localauth</emphasis>] [<emphasis role="bold">-help</emphasis>]</para>
16 <para><emphasis role="bold">bos setc</emphasis> <emphasis role="bold">-s</emphasis> <<emphasis>machine name</emphasis>> <emphasis role="bold">-n</emphasis> <<emphasis>cell name</emphasis>>
17 [<emphasis role="bold">-c</emphasis> <<emphasis>cell name</emphasis>>] [<emphasis role="bold">-n</emphasis>] [<emphasis role="bold">-l</emphasis>] [-h]</para>
21 <title>Description</title>
22 <para>The <emphasis role="bold">bos setcellname</emphasis> command establishes the cell's name and makes the
23 server machine named by the <emphasis role="bold">-server</emphasis> argument a member of it, by
24 recording the value of the <emphasis role="bold">-name</emphasis> argument in two files which it creates
25 on the local disk:</para>
29 <para><replaceable>/usr/afs/etc/ThisCell</replaceable></para>
33 <para><replaceable>/usr/afs/etc/CellServDB</replaceable>. The cell name appears on the first line in the
34 file, preceded by the required <computeroutput>></computeroutput> symbol. The machine name
35 specified with the <emphasis role="bold">-server</emphasis> argument appears on the second line along
36 with its IP address as obtained from the cell's naming service. The
37 machine is thus designated as the cell's first database server machine.</para>
43 <title>Cautions</title>
44 <para>Issue this command only when the installing the cell's first AFS server
45 machine. The <emphasis>IBM AFS Quick Beginnings</emphasis> explains how to copy over the
46 <replaceable>ThisCell</replaceable> and <replaceable>CellServDB</replaceable> files from this or another appropriate
47 machine during installation of additional server machines.</para>
49 <para>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 <emphasis>IBM AFS Administration Guide</emphasis> for advice on choosing a cell name.</para>
56 <title>Options</title>
59 <term><emphasis role="bold">-server</emphasis> <<emphasis>machine name</emphasis>></term>
61 <para>Indicates the server machine on which to set the cell name in the
62 <replaceable>ThisCell</replaceable> and <replaceable>CellServDB</replaceable> file. It is always the first machine
63 installed in a cell. Identify the machine by IP address or its host name
64 (either fully-qualified or abbreviated unambiguously). For details, see
65 <link linkend="bos8">bos(8)</link>.</para>
70 <term><emphasis role="bold">-name</emphasis> <<emphasis>cell name</emphasis>></term>
72 <para>Defines the cell name, using standard Internet domain name format (the
73 actual domain name is usually appropriate). Examples are <computeroutput>abc.com</computeroutput> for
74 the ABC Corporation and <computeroutput>stateu.edu</computeroutput> for the State University. It must
75 match the value of the <emphasis role="bold">-cell</emphasis> argument, if that is provided.</para>
80 <term><emphasis role="bold">-cell</emphasis> <<emphasis>cell name</emphasis>></term>
82 <para>Names the cell in which to run the command. Do not combine this argument
83 with the <emphasis role="bold">-localauth</emphasis> flag. For more details, see <link linkend="bos8">bos(8)</link>.</para>
88 <term><emphasis role="bold">-noauth</emphasis></term>
90 <para>Assigns the unprivileged identity <computeroutput>anonymous</computeroutput> to the issuer. Do not
91 combine this flag with the <emphasis role="bold">-localauth</emphasis> flag. For more details, see
92 <link linkend="bos8">bos(8)</link>.</para>
97 <term><emphasis role="bold">-localauth</emphasis></term>
99 <para>Constructs a server ticket using a key from the local
100 <replaceable>/usr/afs/etc/KeyFile</replaceable> file. The <emphasis role="bold">bos</emphasis> command interpreter presents the
101 ticket to the BOS Server during mutual authentication. Do not combine this
102 flag with the <emphasis role="bold">-cell</emphasis> or <emphasis role="bold">-noauth</emphasis> options. For more details, see
103 <link linkend="bos8">bos(8)</link>.</para>
108 <term><emphasis role="bold">-help</emphasis></term>
110 <para>Prints the online help for this command. All other valid options are
118 <title>Examples</title>
119 <para>The following command defines the cell name <computeroutput>abc.com</computeroutput> in the <replaceable>ThisCell</replaceable>
120 and <replaceable>CellServDB</replaceable> files on the machine <computeroutput>fs1.abc.com</computeroutput> as it is installed
121 as the cell's first server machine.</para>
124 % bos setcellname -server fs1.abc.com -name abc.com
129 <title>Privilege Required</title>
130 <para>Authorization checking is normally turned off during installation, which
131 is the only recommended time to use this command; in this case no
132 privilege is required. If authorization checking is turned on, the issuer
133 must be listed in the <replaceable>/usr/afs/etc/UserList</replaceable> file on the machine named
134 by the <emphasis role="bold">-server</emphasis> argument, or must be logged in as the local superuser
135 <computeroutput>root</computeroutput> if the <emphasis role="bold">-localauth</emphasis> flag is included.</para>
139 <title>See Also</title>
140 <para><link linkend="CellServDB5">CellServDB(5)</link>,
141 <link linkend="KeyFile5">KeyFile(5)</link>,
142 <link linkend="ThisCell5">ThisCell(5)</link>,
143 <link linkend="UserList5">UserList(5)</link>,
144 <link linkend="bos8">bos(8)</link></para>
146 <para><emphasis>IBM AFS Quick Beginnings</emphasis></para>
148 <para><emphasis>IBM AFS Administration Guide</emphasis></para>
152 <title>Copyright</title>
153 <para>IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.</para>
155 <para>This documentation is covered by the IBM Public License Version 1.0. It was
156 converted from HTML to POD by software written by Chas Williams and Russ
157 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.</para>