.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "BOS_SETCELLNAME 8" .TH BOS_SETCELLNAME 8 2024-03-20 OpenAFS "AFS Command Reference" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME bos_setcellname \- Sets the cell's name in ThisCell and CellServDB .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBbos setcellname\fR \fB\-server\fR\ <\fImachine\ name\fR> \fB\-name\fR\ <\fIcell\ name\fR> [\fB\-cell\fR\ <\fIcell\ name\fR>] [\fB\-noauth\fR] [\fB\-localauth\fR] [\fB\-help\fR] .PP \&\fBbos setc\fR \fB\-s\fR\ <\fImachine\ name\fR> \fB\-n\fR\ <\fIcell\ name\fR> [\fB\-c\fR\ <\fIcell\ name\fR>] [\fB\-n\fR] [\fB\-l\fR] [\-h] .SH DESCRIPTION .IX Header "DESCRIPTION" The \fBbos setcellname\fR command establishes the cell's name and makes the server machine named by the \fB\-server\fR argument a member of it, by recording the value of the \fB\-name\fR argument in two files which it creates on the local disk: .IP \(bu 4 \&\fI/etc/openafs/server/ThisCell\fR .IP \(bu 4 \&\fI/etc/openafs/server/CellServDB\fR. The cell name appears on the first line in the file, preceded by the required \f(CW\*(C`>\*(C'\fR symbol. The machine name specified with the \fB\-server\fR 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. .SH CAUTIONS .IX Header "CAUTIONS" Issue this command only when the installing the cell's first AFS server machine. The \fIOpenAFS Quick Start Guide\fR explains how to copy over the \&\fIThisCell\fR and \fICellServDB\fR files from this or another appropriate machine during installation of additional server machines. .PP 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 \fIOpenAFS Administration Guide\fR for advice on choosing a cell name. .SH OPTIONS .IX Header "OPTIONS" .IP "\fB\-server\fR <\fImachine name\fR>" 4 .IX Item "-server " Indicates the server machine on which to set the cell name in the \&\fIThisCell\fR and \fICellServDB\fR 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 \&\fBbos\fR\|(8). .IP "\fB\-name\fR <\fIcell name\fR>" 4 .IX Item "-name " Defines the cell name, using standard Internet domain name format (the actual domain name is usually appropriate). Examples are \f(CW\*(C`example.com\*(C'\fR for the Example Corporation and \f(CW\*(C`example.org\*(C'\fR for the Example Organization. It must match the value of the \fB\-cell\fR argument, if that is provided. .IP "\fB\-cell\fR <\fIcell name\fR>" 4 .IX Item "-cell " Names the cell in which to run the command. Do not combine this argument with the \fB\-localauth\fR flag. For more details, see \fBbos\fR\|(8). .IP \fB\-noauth\fR 4 .IX Item "-noauth" Assigns the unprivileged identity \f(CW\*(C`anonymous\*(C'\fR to the issuer. Do not combine this flag with the \fB\-localauth\fR flag. For more details, see \&\fBbos\fR\|(8). .IP \fB\-localauth\fR 4 .IX Item "-localauth" Constructs a server ticket using a key from the local \&\fI/etc/openafs/server/KeyFile\fR or \fI/etc/openafs/server/KeyFileExt\fR file. The \fBbos\fR command interpreter presents the ticket to the BOS Server during mutual authentication. Do not combine this flag with the \fB\-cell\fR or \fB\-noauth\fR options. For more details, see \&\fBbos\fR\|(8). .IP \fB\-help\fR 4 .IX Item "-help" Prints the online help for this command. All other valid options are ignored. .SH EXAMPLES .IX Header "EXAMPLES" The following command defines the cell name \f(CW\*(C`example.com\*(C'\fR in the \fIThisCell\fR and \fICellServDB\fR files on the machine \f(CW\*(C`fs1.example.com\*(C'\fR as it is installed as the cell's first server machine. .PP .Vb 1 \& % bos setcellname \-server fs1.example.com \-name example.com .Ve .SH "PRIVILEGE REQUIRED" .IX Header "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 \fI/etc/openafs/server/UserList\fR file on the machine named by the \fB\-server\fR argument, or must be logged in as the local superuser \&\f(CW\*(C`root\*(C'\fR if the \fB\-localauth\fR flag is included. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBCellServDB\fR\|(5), \&\fBKeyFile\fR\|(5), \&\fBKeyFileExt\fR\|(5), \&\fBThisCell\fR\|(5), \&\fBUserList\fR\|(5), \&\fBbos\fR\|(8) .PP The \fIOpenAFS Quick Start Guide\fR at . .PP The \fIOpenAFS Administration Guide\fR at . .SH COPYRIGHT .IX Header "COPYRIGHT" IBM Corporation 2000. All Rights Reserved. .PP This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.