SElinux 在CentOS上的配置

冰雨一叶 发布于 2015/03/25 23:10
阅读 743
收藏 0


当时给别人发的邮件,懒就不翻译了,语法也不难,各位路过的大神,谁有这方面的经验,指点一下哈哈 。

    Describe:
        1. My operating system is CentOS 6.5 .
        2. My computer system is X86_64  architecture, and the kernel is 3.10.1 .
        3. The version of refpolicy is refpolicy-2.20110726.tar.bz2, and all the softwares' version is satisfied  .
        4. The steps I installed the refpolicy :
             a. cd  */refpolicy ;
             b. make install-src ;
             c. vim /etc/selinux/refpolicy/src/policy/build.conf , and change DISTRO = redhat ,DIRECT_INITRC =y ;
d. make install ;
e. set SELINUXTYPE=refpolicy ;
f.touch /.autorelabel , shutdown -r now .
OK , then the operation system can not start ,and there is no log to reference log .

加载中
0
首席吊炸天
首席吊炸天
你刚毕业的吧,都没说清楚
返回顶部
顶部