红联Linux门户
Linux帮助

关于SELINUX

发布时间:2011-03-21 21:49:15来源:红联作者:daen
[font=宋体] 最近在玩Redhat5.4的系统及网络服务,配置服务时samba,vsftp,postfix,LAMP时,老得去关掉selinux,要不然老报错,知道一些简单的让selinux不报错的命令用getsebool -a 去查找,但是这样就太烦了,
不怎么了解selinux,有没有大牛些给点关于selinux方面的教程或者指导指导...
-----新手上路,请多多关照...!
[/font]
文章评论

共有 2 条评论

  1. daen 于 2011-03-26 10:38:37发表:

    有没有高人来看看啊

  2. pallana 于 2011-03-21 22:07:58发表:

    修改/etc/selinux/config[code]# 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[/code]注意disabled一句