更新 'linux基础/修改selinux.md'
This commit is contained in:
parent
ebab8283e9
commit
5f70dd0158
1 changed files with 1 additions and 0 deletions
|
@ -16,5 +16,6 @@ getenforce
|
||||||
setenforce 0
|
setenforce 0
|
||||||
```
|
```
|
||||||
setenforce 1 设置SELinux 成为enforcing模式
|
setenforce 1 设置SELinux 成为enforcing模式
|
||||||
|
|
||||||
2、修改配置文件需要重启机器
|
2、修改配置文件需要重启机器
|
||||||
修改/etc/selinux/config 文件,将SELINUX=enforcing改为SELINUX=disabled</p><p>重启机器即可
|
修改/etc/selinux/config 文件,将SELINUX=enforcing改为SELINUX=disabled</p><p>重启机器即可
|
Loading…
Add table
Add a link
Reference in a new issue