首页
Java
登录
6mi
u
盘
搜
搜 索
Java
Redhat 配置SELinux 模式
Redhat 配置SELinux 模式
xiaoxiao
2021-02-28
43
要求: SeLinux的工作模式为enforcing,系统重启后依然生效。
[root
@desktop
~]
# getenforce -->查看现在的SELinux状态
Permissive
[root
@desktop
~]
# vim /etc/selinux/config --> 编辑配置文件,如下图
[root
@desktop
~]
# setenforce 1 -->将模式修改为启动
将permissive 修改为 enforcing ,然后:wq 保存退出,这样下次开机之后SELinux也是启动状态。。。
转载请注明原文地址: https://www.6miu.com/read-2625078.html
技术
最新回复
(
0
)