Determine the C2 status of a system.
The isC2host command returns the configuration status of the host machine. If the host has been configured to operate in C2 mode, the command exits with a zero (true) code. If the host has not been configured to operate in C2 mode, the command exits with a non-zero (false) code.
This command may be used in shell scripts where the security status of the host must be known.
The -i option is used to determine the installation status of the system. The C2 status of the system is determined by examining the ODM database, and the exit status indicates whether or not the system was installed in C2 mode.
The -s option is used to initialize AIX® in C2 mode and may only be issued by the root user. The C2 status of the system is determined by examining the ODM database. On a system that has not been installed with C2, as indicated by the ODM, this option performs no operation.
Item | Description |
---|---|
-i | Determine the C2 installation status of the system. |
-s | Set the C2 status of the system from the ODM. |
Item | Description |
---|---|
/usr/sbin/isC2host | Contains the isC2host command. |