mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-02-03 23:40:14 +08:00
Merge pull request #3955 from alim0x/master
[translating]An Introduction to SELinux
This commit is contained in:
commit
65002e6f8e
@ -1,3 +1,5 @@
|
|||||||
|
alim0x translating
|
||||||
|
|
||||||
An Introduction to SELinux
|
An Introduction to SELinux
|
||||||
===============================
|
===============================
|
||||||
|
|
||||||
@ -37,7 +39,7 @@ Sounds relatively simple, right? There’s actually more to it than that, but fo
|
|||||||
|
|
||||||
### The Modes
|
### 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
|
- 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
|
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)
|
![](https://www.linux.com/images/stories/66866/jack-selinux_b.png)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user