SELINUX=enforcing <==调整 enforcing|disabled|permissive
[root@localhost ~]# sed -i '/^SELINUX=disabled/c SELINUX=' /etc/selinux/config
sed -i 's#SELINUX=enabled#SELINUX=enforcing#' /etc/selinux/config
cat /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=enforcing
# SELINUXTYPE= can take one of three two