SELinux Shutdown

4 July 2024

ID 165993

To ensure correct operation of Kaspersky Security 8 for Linux Mail Server on CentOS, Red Hat Enterprise Linux, or Rocky Linux operating systems, SELinux must be disabled.

To disable SELinux:

  1. Check the settings for starting SELinux at system startup. To do so, run the following command:

    cat /etc/selinux/config

  2. If the SELINUX parameter has the enforcing value, disable the startup of SELinux at system startup. To do so, in the /etc/selinux/config file, specify SELINUX=disabled instead of SELINUX=enforcing.
  3. Check the current status of SELinux. To do so, run the following command:

    sestatus

  4. If the SELinux status parameter has the enabled value, disable SELinux. To do so, run the following command:

    setenforce 0

SELinux will be disabled.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.