2005-12-08 12:14:33 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
2007-11-11 22:54:56 +00:00
|
|
|
bos_setcellname - Sets the cell's name in ThisCell and CellServDB
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
B<bos setcellname> S<<< B<-server> <I<machine name>> >>> S<<< B<-name> <I<cell name>> >>>
|
|
|
|
S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>] [B<-localauth>] [B<-help>]
|
|
|
|
|
|
|
|
B<bos setc> S<<< B<-s> <I<machine name>> >>> S<<< B<-n> <I<cell name>> >>>
|
|
|
|
S<<< [B<-c> <I<cell name>>] >>> [B<-n>] [B<-l>] [-h]
|
|
|
|
|
|
|
|
=for html
|
|
|
|
</div>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The B<bos setcellname> command establishes the cell's name and makes the
|
|
|
|
server machine named by the B<-server> argument a member of it, by
|
|
|
|
recording the value of the B<-name> argument in two files which it creates
|
|
|
|
on the local disk:
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
F</usr/afs/etc/ThisCell>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
F</usr/afs/etc/CellServDB>. The cell name appears on the first line in the
|
|
|
|
file, preceded by the required C<< > >> symbol. The machine name
|
|
|
|
specified with the B<-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.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=head1 CAUTIONS
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Issue this command only when the installing the cell's first AFS server
|
2010-05-26 18:20:57 +01:00
|
|
|
machine. The I<OpenAFS Quick Start Guide> explains how to copy over the
|
2005-12-13 19:21:13 +00:00
|
|
|
F<ThisCell> and F<CellServDB> files from this or another appropriate
|
|
|
|
machine during installation of additional server machines.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Be sure to choose a satisfactory cell name when issuing this command,
|
2005-12-13 19:21:13 +00:00
|
|
|
because changing a cell's name is very complicated; for one thing, it
|
|
|
|
requires changing every password in the Authentication Database. Consult
|
2010-05-26 18:20:57 +01:00
|
|
|
the I<OpenAFS Administration Guide> for advice on choosing a cell name.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-server> <I<machine name>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Indicates the server machine on which to set the cell name in the
|
2005-12-13 19:21:13 +00:00
|
|
|
F<ThisCell> and F<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
|
|
|
|
L<bos(8)>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-name> <I<cell name>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Defines the cell name, using standard Internet domain name format (the
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
actual domain name is usually appropriate). Examples are C<example.com> for
|
|
|
|
the Example Corporation and C<example.org> for the Example Organization. It must
|
2005-12-13 19:21:13 +00:00
|
|
|
match the value of the B<-cell> argument, if that is provided.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-cell> <I<cell name>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Names the cell in which to run the command. Do not combine this argument
|
|
|
|
with the B<-localauth> flag. For more details, see L<bos(8)>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-noauth>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Assigns the unprivileged identity C<anonymous> to the issuer. Do not
|
|
|
|
combine this flag with the B<-localauth> flag. For more details, see
|
|
|
|
L<bos(8)>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-localauth>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Constructs a server ticket using a key from the local
|
2015-02-27 23:20:19 +00:00
|
|
|
F</usr/afs/etc/KeyFile> or F</usr/afs/etc/KeyFileExt> file.
|
|
|
|
The B<bos> command interpreter presents the
|
2005-12-13 19:21:13 +00:00
|
|
|
ticket to the BOS Server during mutual authentication. Do not combine this
|
|
|
|
flag with the B<-cell> or B<-noauth> options. For more details, see
|
|
|
|
L<bos(8)>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-help>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Prints the online help for this command. All other valid options are
|
|
|
|
ignored.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
The following command defines the cell name C<example.com> in the F<ThisCell>
|
|
|
|
and F<CellServDB> files on the machine C<fs1.example.com> as it is installed
|
2005-12-13 19:21:13 +00:00
|
|
|
as the cell's first server machine.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
% bos setcellname -server fs1.example.com -name example.com
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
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 F</usr/afs/etc/UserList> file on the machine named
|
|
|
|
by the B<-server> argument, or must be logged in as the local superuser
|
|
|
|
C<root> if the B<-localauth> flag is included.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
L<CellServDB(5)>,
|
|
|
|
L<KeyFile(5)>,
|
2015-02-27 23:20:19 +00:00
|
|
|
L<KeyFileExt(5)>,
|
2005-12-13 19:21:13 +00:00
|
|
|
L<ThisCell(5)>,
|
|
|
|
L<UserList(5)>,
|
|
|
|
L<bos(8)>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2010-05-26 18:20:57 +01:00
|
|
|
The I<OpenAFS Quick Start Guide> at
|
|
|
|
L<http://docs.openafs.org/QuickStartUnix/>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2010-05-26 18:20:57 +01:00
|
|
|
The I<OpenAFS Administration Guide> at
|
|
|
|
L<http://docs.openafs.org/AdminGuide/>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
|
|
|
|
|
|
|
|
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.
|