查看 SELinux状态及关闭
2017-04-04 20:43
267 查看
查看SELinux状态:1、/usr/sbin/sestatus -v ##如果SELinux status参数为enabled即为开启状态SELinux status: enabled2、getenforce ##也可以用这个命令检查关闭SELinux:1、临时关闭(不用重启机器):setenforce 0 ##设置SELinux 成为permissive模式setenforce 1 ##设置SELinux 成为enforcing模式2、修改配置文件需要重启机器:修改/etc/selinux/config 文件将SELINUX=enforcing改为SELINUX=disabled重启机器即可
转至:http://bguncle.blog.51cto.com/3184079/957315
转至:http://bguncle.blog.51cto.com/3184079/957315
相关文章推荐
- 查看SELinux状态及关闭SELinux
- samba能看到linux中的文件目录,但是看不到文件的解决(查看SElinux状态&关闭SElinux)
- 查看SELinux状态&关闭SELinux
- 查看 SELinux状态及关闭SELinux
- 查看 SELinux状态及关闭SELinux
- 查看 SELinux状态及关闭SELinux
- 查看 SELinux状态及关闭SELinux
- 查看 SELinux状态及关闭SELinux
- JDK安装报错之如何关闭SELinux及查看SELinux状态
- 查看selinux的状态以及关闭selinux
- 查看 SELinux状态及关闭SELinux
- selinux的状态查看及关闭
- 查看SELinux状态&关闭SELinux
- 查看 SELinux状态及关闭SELinux
- Fedora下查看SeLinux状态及关闭SeLinux
- [转] 查看 SELinux状态及关闭SELinux
- 查看SELinux的状态,关闭SELinux
- 查看 SELinux状态及关闭SELinu
- 查看 SELinux状态及关闭SELinux
- 查看 SELinux状态及关闭SELinux