rmC2admin Command

Purpose

Remove the configuration files for a distributed C2 System host.

Syntax

rmC2admin [ -m ]

Description

The rmC2admin command replaces the distributed C2 System symbolic links with the actual files. The directory /etc/data.shared will be removed. When the -m flag is used, the hd10sec file system and /etc/data.master directory will be removed as well. This option should only be used after all other hosts in the C2 System have replaced their administrative host with another system or removed the C2 configuration files as well.

The entries for the system initialization scripts in /etc/inittab will also be removed, and rebooting this system will result in the system not being configured for C2 mode.

Executing this command in multi-user mode will result in the user definitions from the C2 System being retained. Executing this command in single-user mode will result in the user definitions from the C2 System being removed and the root user being the only valid user ID.

The system should be rebooted immediately after executing this command so that the changes may take effect.

Flags

Item Description
-m The host was configured as the administrative master

Exit Status

0
The C2 System administrative host information has been successfully removed.
1
The system was not configured to operate in C2 mode.
2
The system was not installed with the C2 option.
3
An error occurred removing the C2 System administrative host information.
4
An invalid command line option was used.

Files

Item Description
/usr/sbin/rmC2admin Contains the rmC2admin command.