SELinux Shutdown
SELinux Shutdown
2024年7月4日
ID 165993
为了确保 Kaspersky Security 8 for Linux Mail Server 在 CentOS、Red Hat Enterprise Linux 或 Rocky Linux 操作系统上正确运行,必须禁用SELinux。
要禁用 SELinux:
- 请在系统启动时检查 SELinux 的启动设置。为此,请运行以下命令:
cat /etc/selinux/config
- 如果
SELINUX
参数有执行
值,则禁用在系统启动时启动 SELinux。要执行此操作,请在 /etc/selinux/config file 中指定SELINUX=disabled
而非SELINUX=enforcing
。 - 检查 SELinux 的当前状态。为此,请运行以下命令:
sestatus
- 如果
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.