Purpose
Sets the cell's name in the /usr/afs/etc/ThisCell and /usr/afs/etc/CellServDB files
Synopsis
bos setcellname -server <machine name> -name <cell name> [-cell <cell name>] [-noauth] [-localauth] [-help] bos setc -s <machine name> -n <cell name> [-c <cell name>] [-n] [-l] [-h]
Description
The bos setcellname command establishes the cell's name and makes the server machine named by the -server argument a member of it, by recording the value of the -name argument in two files which it creates on the local disk:
Cautions
Issue this command only when the installing the cell's first AFS server machine. The IBM AFS Quick Beginnings explains how to copy over the ThisCell and CellServDB files from this or another appropriate machine during installation of additional server machines.
Be sure to choose a satisfactory cell name when issuing this command, because changing a cell's name is very complicated; for one thing, it requires changing every password in the Authentication Database. Consult the IBM AFS Administration Guide for advice on choosing a cell name. If changing the cell's name is absolutely necessary, contact AFS Product Support for complete instructions.
Options
Examples
The following command defines the cell name abc.com in the ThisCell and CellServDB files on the machine fs1.abc.com as it is installed as the cell's first server machine.
% bos setcellname -server fs1.abc.com -name abc.com
Privilege Required
Authorization checking is normally turned off during installation, which is the only recommended time to use this command; in this case no privilege is required. If authorization checking is turned on, the issuer must be listed in the /usr/afs/etc/UserList file on the machine named by the -server argument, or must be logged in as the local superuser root if the -localauth flag is included.
Related Information
IBM AFS Quick Beginnings
IBM AFS Administration Guide