mirror of
https://github.com/Estom/notes.git
synced 2026-02-11 14:25:18 +08:00
26 lines
300 B
Markdown
26 lines
300 B
Markdown
getenforce
|
||
===
|
||
|
||
显示当前SELinux的应用模式,是强制、执行还是停用
|
||
|
||
## 补充说明
|
||
|
||
**grename命令** 可以重命名卷组的名称。
|
||
|
||
### 语法
|
||
|
||
```shell
|
||
getenforce
|
||
```
|
||
|
||
### 例子
|
||
|
||
查看当前SELinux的应用模式。
|
||
|
||
```shell
|
||
[root@localhost ~]# getenforce
|
||
Enforcing
|
||
```
|
||
|
||
|