selinux

禁止selinux方法

永久关闭

修改/etc/sysconfig/selinux,SELINUX=enforcing /enabled改为 SELINUX=disabled,重启

临时关闭

[root@localhost ~]# getenforce

Enforcing

[root@localhost ~]# setenforce 0

[root@localhost ~]# getenforce

Permissive

posted @ 2018-08-29 13:15  萧韶九成  阅读(128)  评论(0编辑  收藏  举报