centos 关闭selinux
2017-10-11 00:00
429 查看
查看
[root@dev-server ~]# getenforce Disabled [root@dev-server ~]# /usr/sbin/sestatus -v SELinux status: disabled
临时关闭
##设置SELinux 成为permissive模式 ##setenforce 1 设置SELinux 成为enforcing模式 setenforce 0
永久关闭
vi /etc/selinux/config
将SELINUX=enforcing改为SELINUX=disabled
#设置后需要重启才能生效
reboot
相关文章推荐
- centos 关闭和启用selinux
- centos 7 关闭SElinux过程
- centos关闭selinux
- centos:开启和关闭selinux
- 在CentOS 6.0下面永久关闭SELinux和防火墙
- [置顶] Centos防火墙及SELINUX关闭
- CentOS 6.5系统中如何关闭seLinux和iptables防火墙
- CentOS/Linux 关闭SELinux
- centos:开启和关闭selinux
- CentOS关闭SELINUX
- centos6 查看SELinux状态 关闭SELinux
- centos 关闭selinux
- centos7 关闭防火墙和selinux
- Centos Linux 系统下快速关闭SELINUX
- centos 7.0 查看selinux状态|关闭|开启
- CentOS 7 关闭防火墙和SELinux
- CentOS 7.0 关闭防火墙和selinux
- SELinux是什么? linux CentOS中如何关闭,禁用SELinux
- centos 关闭selinux
- centos selinux不重启关闭