Print

Verifying the status of SELinux

About this task

Use this procedure to verify the status of SELinux.

cautionCAUTION

If you fail to disable SELinux before you install the AE Services software, some AE Services will not start and you might encounter other problems.

If the Linux operating system is already installed, use these steps to determine if the SELinux is disabled.

Procedure

  1. Log in to the server as a user with root privileges.
  2. From the command line interface, run the following command and press Enter:
    /usr/sbin/sestatus
  3. If SELinux is enabled, you must disable SELinux and then reboot the server.

    You can specify the SELinux mode using the configuration file /etc/sysconfig/selinux. Change the value of SELINUX to disabled as shown in the following example:

    # This file controls the state of SELinux on the system.

    # SELINUX= can take one of these three values:

    # enforcing - SELinux security policy is enforced.

    # permissive - SELinux prints warnings instead of enforcing.

    # disabled - No SELinux policy is loaded.

    SELINUX=disabled

    # SELINUXTYPE= can take one of these two values:

    # targeted - Only targeted network daemons are protected.

    # mls - Multi Level security protection.

    SELINUXTYPE=targeted