临时关闭:
[[email protected] ~]# getenforce
Enforcing
[[email protected] ~]# setenforce 0
[[email protected] ~]# getenforce
Permissive
永久关闭:
[[email protected] ~]# vim /etc/sysconfig/selinux
SELINUX=enforcing 改为 SELINUX=disabled
重启服务reboot
原文地址:https://www.cnblogs.com/zuikeol/p/11506355.html
时间: 2024-10-23 11:49:58