From 5f70dd0158db81b0e6430fa8f6414c23cdc2ba2e Mon Sep 17 00:00:00 2001
From: iProbe
Date: Wed, 1 Feb 2023 10:52:54 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'linux=E5=9F=BA=E7=A1=80/?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9selinux.md'?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
linux基础/修改selinux.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/linux基础/修改selinux.md b/linux基础/修改selinux.md
index a43d3ee..bc70d15 100644
--- a/linux基础/修改selinux.md
+++ b/linux基础/修改selinux.md
@@ -16,5 +16,6 @@ getenforce
setenforce 0
```
setenforce 1 设置SELinux 成为enforcing模式
+
2、修改配置文件需要重启机器
修改/etc/selinux/config 文件,将SELINUX=enforcing改为SELINUX=disabled
重启机器即可
\ No newline at end of file