SELinux (security-enhanced Linux) is the United States National Security Agency (NSA) implementation of mandatory access control, is the most outstanding new security subsystem in the history of Linux.
Turn off SELinux
Temporary entry into force:
Order temporary Effect: Setenforce 0 (temporary effective can be directly with setenforce 0) 1 enable 0 alarm, do not enable
Permanent entry into force:
# Back up before Operation Cp/etc/selinux/config/etc/selinux/config.bak cat/etc/selinux/config# selinux= can take one of These three values:# enforcing-selinux security policy is enforced.# permissive-selinux prints warnings Instea D of enforcing.# disabled-no SELinux policy is loaded.# change setlinux level sed-i ' s/selinux=enforcing/\selinux=permissive /'/etc/selinux/config ==> vim/etc/selinux/config/--- selinux=enforcing[effect ditto] # SELinux parameter enforcing is on, disabled represents off # view SELinux status:
Turn off SELinux