SELinux Shutdown
SELinux Shutdown
2023年8月21日
ID 165993
为确保 Kaspersky Security 8 for Linux Mail Server 在 CentOS 或 Red Hat Enterprise Linux 或 Rocky Linux 操作系统上正常运行,必须禁用 SELinux。
要禁用 SELinux:
- 检查系统启动时启动 SELinux 的设置。要执行此操作,请在命令行中输入:
cat /etc/selinux/config
- 如果
SELINUX
参数的值为enforcing
,请禁止 SELinux 在系统启动时启动。为此,在 /etc/selinux/config 文件中,输入SELINUX=disabled
而不是SELINUX=enforcing
。 - 检查 SELinux 的当前状态。要执行此操作,请在命令行中输入:
sestatus
- 如果
SELinux status
参数的值为enabled
,请禁用 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.