1 | getenforce
|
2 | ===
|
3 |
|
4 | 显示当前SELinux的应用模式,是强制、执行还是停用
|
5 |
|
6 | ## 补充说明
|
7 |
|
8 | **grename命令** 可以重命名卷组的名称。
|
9 |
|
10 | ### 语法
|
11 |
|
12 | ```shell
|
13 | getenforce
|
14 | ```
|
15 |
|
16 | ### 例子
|
17 |
|
18 | 查看当前SELinux的应用模式。
|
19 |
|
20 | ```shell
|
21 | [root@localhost ~]# getenforce
|
22 | Enforcing
|
23 | ```
|
24 |
|
25 | <!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->
|