2.1.4 Displaying the SELinux Status

You can display the SELinux status by using the host_access_control utility. You can display the current status or the configured status:

  • The current status indicates the SELinux mode that is currently active on the system.

    To display the current status, use the following command:

    # /opt/oracle.cellos/host_access_control selinux --status
  • The configured status indicates the SELinux mode set by the most recent host_access_control command. The configured status differs from the current status after you change the SELinux mode setting but before you reboot the system to activate the new mode.

    To display the configured status, use the following command:

    # /opt/oracle.cellos/host_access_control selinux --config