Chinaunix

标题: 关于ubuntu的selinux [打印本页]

作者: biwangshen    时间: 2015-03-23 12:58
标题: 关于ubuntu的selinux
我用的是ubuntu12.04安装了selinux,但是在用seinfo查看当前策略时,老是报这样的错
ERROR: policydb version 26 does not match my version range 15-24
ERROR: Unable to open policy /etc/selinux/ubuntu/policy/policy.26.
ERROR: Input/output error
我倒腾了一个星期了,完全不知道怎么解决,请大神指点一下
作者: lyhabc    时间: 2015-03-25 17:38
查看selinux是否关闭
[root@steven ~]# getenforce
Disabled

把 selinux关闭  ,暂时性关闭用setentforce 0
永久性关闭为:vi  /etc/selinux/config  selinux=disabled。
作者: kenduest    时间: 2015-03-25 17:50

ubuntu 目前本身系統沒有整合好 SELinux 部分,而且預設也沒有啟用。

若你要測試 SELinux 部分,使用 RHEL or CentOS 會是比較好選擇





欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2