Chinaunix首页 | 论坛 | 博客
  • 博客访问: 581400
  • 博文数量: 74
  • 博客积分: 1415
  • 博客等级: 中尉
  • 技术积分: 712
  • 用 户 组: 普通用户
  • 注册时间: 2011-07-21 16:37
文章分类

全部博文(74)

文章存档

2012年(31)

2011年(43)

分类: LINUX

2012-02-08 11:51:16

查看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
阅读(7675) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~