SELinux Shutdown

2023年12月13日

ID 165993

要在 CentOS 或 Red Hat Enterprise Linux 操作系统上运行 Kaspersky Web Traffic Security 必须禁用 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.