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.
-i | Determine the C2 installation status of the system. |
-s | Set the C2 status of the system from the ODM. |
/usr/sbin/isC2host | Contains the isC2host command. |
The chC2admin command, lsC2admin command, mkC2admin command, rmC2admin command.
The sysconfig() subroutine.
The Object Data Manager subsystem.