bos_delete8
Deletes a server process from the bosconfig file
Usage
bos delete
-server
<machine
name>
-instance
<server
process
name>+
[-cell
<cell
name>]
[-noauth]
[-localauth]
[-help]
bos d
-s
<machine
name>
-i
<server
process
name>+
[-c
<cell
name>]
[-n]
[-l]
[-h]
Overview
The bos delete command removes the /etc/openafs/BosConfig entry for each process indicated by the -instance argument, on the server machine named by the -server argument.
Before issuing this command, issue the bos stop command to stop the process and set its status flag in the BosConfig file to "NotRun". The bos delete command fails with an error message if a process's status flag is "Run".
Options
-server<machine name>-
Indicates the server machine on which to delete the server process entry from the /etc/openafs/BosConfig file. Identify the machine by IP address or its host name (either fully-qualified or abbreviated unambiguously). For details, see bos(8).
-instance<server process name>+-
Names each process to delete. Use the name assigned with the
-instanceargument to the bos create command; process names appear in the output of the bos status command.
-cell<cell name>-
Names the cell in which to run the command. Do not combine this argument with the
-localauthflag. For more details, see bos(8).
-
-noauth -
Assigns the unprivileged identity
"anonymous"to the issuer. Do not combine this flag with the-localauthflag. 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
boscommand interpreter presents the ticket to the BOS Server during mutual authentication. Do not combine this flag with the-cellor-noauthoptions. For more details, see bos(8).
-
-help -
Prints the online help for this command. All other valid options are ignored.
Examples
The following command removes the buserver, kaserver, ptserver, and vlserver entries from the BosConfig file on "db3.example.com", a database server machine being decommissioned.
% bos delete -server db3.example.com \-instance buserver kaserver ptserver vlserver
Privilege required
The issuer must be listed in the /etc/openafs/server/UserList file on the machine named by the -server argument, or must be logged onto a server machine as the local superuser "root" if the -localauth flag is included.
The bos delete command cannot be run against servers which are in restricted mode.
Releases
10 releases since Debian 4.0 (Etch); the text changed 9 times.