centos selinux关闭
2011-09-07 17:57
267 查看
1. /etc/sysconfig/selinux
2. setenforce
setenforce 0
用该命令可以立即关闭selinux
3. getenforce
用该命令可以查看selinux当前状态
# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted可以将SELINUX设置为disabled,在下次启动主机时selinux将不再启动
2. setenforce
setenforce 0
用该命令可以立即关闭selinux
3. getenforce
用该命令可以查看selinux当前状态
相关文章推荐
- CentOS系统中如何关闭seLinux和iptables防火墙
- CentOS 7 关闭防火墙和SELinux
- centos 关闭防火墙以及关闭selinux方法
- centos关闭selinux
- centos 7.0 查看selinux状态|关闭|开启
- CentOS 7.0 关闭防火墙和selinux
- CentOS 7.0关闭默认防火墙启用iptables防火墙及关闭selinux
- CentOS/Linux 关闭SELinux
- SELinux是什么? linux CentOS中如何关闭,禁用SELinux
- centos6.4下关闭防火墙,selinux和设置网络
- centos 7.0 查看selinux状态|关闭|开启
- CentOS 5 管理 关闭SELinux
- centos 关闭selinux
- centos selinux不重启关闭
- centos 关闭selinux
- 在CentOS 6.0下面永久关闭SELinux
- centos6.5关闭selinux、iptables、ipv6
- 针对 CentOS 的 SELinux 拦截 vsftpd 问题(不关闭SELinux)
- centos 关闭selinux
- CentOS系统如何快速关闭SELINUX