注册
登录
首页
网站近况
会员
标签
统计
帮助
LUPA论坛
»
内核问题答疑
» SELinux类型强制访问控制(TE)
‹‹ 上一主题
|
下一主题 ››
发新话题
发布投票
发布商品
发布悬赏
发布活动
发布辩论
发布视频
打印
SELinux类型强制访问控制(TE)
黄富强
版主
开源志愿者
个人空间
发短消息
加为好友
1
#
发表于 2007-5-25 03:37
只看该作者
SELinux类型强制访问控制(TE)
在
SELinux
中,所有访问必须要明确同意,不管系统中用户、组是什么
ID
,默认情况下都无访问权,这意味着
SELinux
系统中没有默认的超级用户,不象标准的
LINUX
系统中的根用户,同意访问的方法是通过设置规则,这个访问规则是在主体类型和客体类型之间用一个允许规则实现访问控制。
An
allow
rule has four elements:
Source type(s) Usually the domain type of a process attempting access
Target type(s) The type of an object being accessed by the process
Object class(es) The class of object that the specified access is permitted
Permission(s) The kind of access that the source type is allowed to the target type for the indicated object classes
allow user_t bin_t : file {read execute getattr};
Note
There is no significance to the
_t
in the type identifier name. This is just a naming convention used in most SELinux policies; a policy writer can define a type identifier using any convenient convention allowed by the policy language syntax.
附件:
http://fuqiang_huang88.lupaworld.com
http://blog.sina.com.cn/m/fuqiang_huang
http://fuqiang.blog.ccidnet.com/
http://forum.ubuntu.org.cn/weblog.php?w=99
UID
18733
帖子
702
精华
2
积分
3132
阅读权限
100
来自
哈尔滨
在线时间
622 小时
注册时间
2006-4-8
最后登录
2008-9-7
查看个人网站
查看详细资料
TOP
‹‹ 上一主题
|
下一主题 ››
控制面板首页
编辑个人资料
积分交易
积分记录
公众用户组
勋章
访问推广
基本概况
流量统计
客户软件
发帖量记录
版块排行
主题排行
发帖排行
积分排行
交易排行
在线时间
管理团队
管理统计