无法将SELINUX设置为允许

试图设置 SELINUX=permissive

$getenforce

Disabled

这是 /etc/selinux/config 的文件内容

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=permissive
#SELINUX=enforcing
# SELINUXTYPE= can take one of three two values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

我重新启动服务器

shutdown -r now

但我总是 SELINUX=Disabled

有什么建议吗?谢谢

回答(0)