Merge pull request #3955 from alim0x/master

[translating]An Introduction to SELinux
This commit is contained in:
alim0x 2016-05-03 15:33:22 +08:00
commit 65002e6f8e

View File

@ -1,3 +1,5 @@
alim0x translating
An Introduction to SELinux
===============================
@ -37,7 +39,7 @@ Sounds relatively simple, right? Theres actually more to it than that, but fo
### The Modes
SELinux has three modes (which can be set by the user). These modes will dictate how SELinux acts upon subject request. The modes are:
SELinux has three modes (which can be set by the user). These modes will dictate how SELinux acts upon subject request. The modes are:
- Enforcing — SELinux policy is enforced and subjects will be denied or granted access to objects based on the SELinux policy rules
@ -57,7 +59,7 @@ You can change the SELinux mode from the command line or in the /etc/selinux/con
3. Issue the command setenforce 1
4. Issue the command getenforce to ensure the mode has been set (Figure 2)
4. Issue the command getenforce to ensure the mode has been set (Figure 2)
![](https://www.linux.com/images/stories/66866/jack-selinux_b.png)