更新 'linux基础/修改selinux.md'

This commit is contained in:
iProbe 2023-02-01 10:52:54 +08:00
parent ebab8283e9
commit 5f70dd0158

View file

@ -16,5 +16,6 @@ getenforce
setenforce 0
```
setenforce 1 设置SELinux 成为enforcing模式
2、修改配置文件需要重启机器
修改/etc/selinux/config 文件,将SELINUX=enforcing改为SELINUX=disabled</p><p>重启机器即可