Chinaunix首页 | 论坛 | 博客
  • 博客访问: 108658
  • 博文数量: 46
  • 博客积分: 2081
  • 博客等级: 大尉
  • 技术积分: 292
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-29 14:51
文章分类

全部博文(46)

文章存档

2012年(1)

2011年(38)

2010年(7)

分类:

2011-07-13 17:06:14

原文地址:修改selinux 作者:didonglin

1、vi /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

2、执行setenforce 0 立刻生效。
阅读(1007) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~