关闭方法:修改配置文件 /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
将黑色字体部分,设置为disabled就可以了。然后保存退出,如果还不行,重新启动一下,配置文件的位置不知道是不是其他版本的系统是否一样,我用的RedHat Linux Enterprise 5。


uncleon 于 2008-10-12 10:25:18发表:
学习了。。。(5ty(