不积跬步,无以至千里

博客园 首页 新随笔 联系 订阅 管理
查看selinux的状态:
[root@rac1 ~]# getenforce
Disabled
[root@rac1 ~]# sestatus
SELinux status: disabled
[root@rac1 ~]#

修改selinux为disabled(禁用),重启后此修改生效
[root@rac1 ~]# cat /etc/selinux/config 
# 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
posted on 2015-11-19 11:16  Zeroassetsor  阅读(159)  评论(0)    收藏  举报