Home > Article > Operation and Maintenance > Linux temporary and permanent shutdown of Selinux
View the current Selinux status: getenforce
Temporarily shut down Selinux: setenforce 0
Permanently shut down Selinux:
vim /etc/sysconfig/selinux 将 SELINUX=enforcing 改成 SELINUX=disabled
Related recommendations: "Linux Tutorial"
The above is the detailed content of Linux temporary and permanent shutdown of Selinux. For more information, please follow other related articles on the PHP Chinese website!