SELinux Shutdown

August 21, 2023

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 that, enter at the command line:

    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, enter SELINUX=disabled instead of SELINUX=enforcing.
  3. Check the current status of SELinux. To do that, enter at the command line:

    sestatus

  4. If the SELinux status parameter has the enabled value, disable SELinux. To do that, enter at the command line:

    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.