SELinux Shutdown

2024年7月4日

ID 165993

为了确保 Kaspersky Security 8 for Linux Mail Server 在 CentOS、Red Hat Enterprise Linux 或 Rocky Linux 操作系统上正确运行,必须禁用SELinux

要禁用 SELinux:

  1. 请在系统启动时检查 SELinux 的启动设置。为此,请运行以下命令:

    cat /etc/selinux/config

  2. 如果 SELINUX 参数有执行值,则禁用在系统启动时启动 SELinux。要执行此操作,请在 /etc/selinux/config file 中指定 SELINUX=disabled 而非 SELINUX=enforcing
  3. 检查 SELinux 的当前状态。为此,请运行以下命令:

    sestatus

  4. 如果 SELinux 状态参数有已启用值,则禁用 SELinux。为此,请运行以下命令:

    setenforce 0

SELinux 将被禁用。

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.