logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

bos_setcellname - Sets the cell's name in ThisCell and CellServDB

Cautions

       Issue  this command only when the installing the cell's first AFS server machine. The OpenAFSQuickStartGuide 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 OpenAFSAdministrationGuide for advice on choosing a cell name.

Description

       The bossetcellname 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:

       •   /etc/openafs/server/ThisCell/etc/openafs/server/CellServDB.  The cell name appears on the first line in the file, preceded by the
           required ">" symbol.  The machine name specified with the -server argument appears on the second line
           along with its IP address as obtained from the cell's naming service. The machine is thus  designated
           as the cell's first database server machine.

Examples

       The  following  command  defines  the cell name "example.com" in the ThisCell and CellServDB files on the
       machine "fs1.example.com" as it is installed as the cell's first server machine.

          % bos setcellname -server fs1.example.com -name example.com

Name

       bos_setcellname - Sets the cell's name in ThisCell and CellServDB

Options

-server <machinename>
           Indicates the server machine on which to set the cell name in the ThisCell and CellServDB file. It is
           always  the  first  machine  installed in a cell. Identify the machine by IP address or its host name
           (either fully-qualified or abbreviated unambiguously).  For details, see bos(8).

       -name <cellname>
           Defines the cell name, using standard Internet domain name format (the actual domain name is  usually
           appropriate).  Examples  are  "example.com"  for  the  Example  Corporation and "example.org" for the
           Example Organization. It must match the value of the -cell argument, if that is provided.

       -cell <cellname>
           Names the cell in which to run the command. Do not combine this argument with  the  -localauth  flag.
           For more details, see bos(8).

       -noauth
           Assigns  the  unprivileged  identity  "anonymous"  to  the  issuer. Do not combine this flag with the
           -localauth flag. For more details, see bos(8).

       -localauth
           Constructs  a  server  ticket  using  a   key   from   the   local   /etc/openafs/server/KeyFile   or
           /etc/openafs/server/KeyFileExt  file.   The  bos  command  interpreter presents the ticket to the BOS
           Server during mutual authentication. Do not combine this flag with the -cell or -noauth options.  For
           more details, see bos(8).

       -help
           Prints the online help for this command. All other valid options are ignored.

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 /etc/openafs/server/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.

See Also

CellServDB(5), KeyFile(5), KeyFileExt(5), ThisCell(5), UserList(5), bos(8)

       The OpenAFSQuickStartGuide at <http://docs.openafs.org/QuickStartUnix/>.

       The OpenAFSAdministrationGuide at <http://docs.openafs.org/AdminGuide/>.

Synopsis

bossetcellname-server <machinename> -name <cellname>
           [-cell <cellname>] [-noauth] [-localauth] [-help]

       bossetc-s <machinename> -n <cellname>
           [-c <cellname>] [-n] [-l] [-h]

See Also