Kaspersky Secure Mail Gateway

SELinux Shutdown

July 3, 2024

ID 165993

For KSMG to work on CentOS, Red Hat Enterprise Linux, and Rocky Linux operating systems, you must disable SELinux.

To disable SELinux:

  1. Check the SELinux launch settings at system boot. To do so, run the following command:

    cat /etc/selinux/config

  2. If the SELINUX parameter is set to enforcing, prevent SELinux from running at system boot. 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 value of the SELinux status parameter is enabled, disable SELinux. To do so, run the following command:

    setenforce 0

SELinux is 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.