[RHEL] Disable SELinux

[shell]# vi /etc/sysconfig/selinux

# 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=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUX=targeted

[shell]# reboot

[shell]# getenforce

[shell]# sestatus

本篇發表於 科技 並標籤為 。將永久鏈結加入書籤。