首页 > 未分类 > How to disable selinux on linux 2.6

How to disable selinux on linux 2.6

2005年7月18日 哈哈 发表评论 阅读评论

selinux是个新东东

在linux kernel 2.6的系统(如as4、fc3)里常见

一般如果在2.6的kernel的机器上出什么莫名其妙的权限的错误

大家都可以想想是不是selinux的策略问题

以我现在的想法

最好是已开始就把selinux disable掉!

方法是编辑文件/etc/sysconfig/selinux

把SELINUX设为disabled

像这样:

SELINUX=disabled

在重起机器selinux就被忽略了

分类: 未分类 标签:
  1. 匿名
    2005年9月23日19:16 | #1

    命令setenforce 0可以直接干掉selinux 直接生效
    不用重启机器

  1. 本文目前尚无任何 trackbacks 和 pingbacks.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word