从发行版的源中安装
#!/bin/bash ################################################################################### # Kali GNU/Linux Rolling ################################################################################### # 安装selinux-utils,SELinux管理配置工具。 apt-get install selinux-utils # 安装policycoreutils:用于SELinux核心策略配置的基本程序。 apt-get install policycoreutils
安装的可执行程序
avcstat
compute_av
compute_create
compute_member
compute_relabel
compute_user
getconlist
getdefaultcon
getfilecon
getpidcon
getsebool
getseuser
matchpathcon
policyvers
sefcontext_compile
selabel_digest
selabel_lookup
selabel_lookup_best_match
selabel_partial_match
selinux_check_securetty_context
selinux_restorecon
selinuxenabled
selinuxexeccon
setfilecon
togglesebool
「policycoreutils」中包含的程序
fixfiles
load_policy
restorecon
restorecon_xattr
setfiles
secon
genhomedircon
semodule
setsebool
相关书籍
关于SELinux的比较少,而且都是英文的《SELINUX NSA’s Open Source Security Enbanced Linux》、《SELinux System Administrator》、《SELinux by Example》
同类型的产品
AppArmor
Tomoyo
参考文献
- Wikipedia / Security-Enhanced Linux: https://en.wikipedia.org/wiki/Security-Enhanced_Linux
- The Debian Administrator’s Handbook: https://debian-handbook.info/browse/stable/sect.selinux.html
- apt-file list selinux-utils
- 51CTO博客/selinux