原文:关闭selinux的方法

方法 : vim etc selinux config 把SELINUX enforcing注释掉 SELINUX enforcing 再新加一行:SELINUX disabled 保存,关闭,重启系统 或直接使用命令修改: sed i s SELINUX enforcing SELINUX disabled etc selinux config setenforce 方法 : 快速关闭SELIN ...

2021-10-21 14:57 0 137 推荐指数:

查看详情

Linux关闭SELinux方法

SELinux一共有3种状态,分别是Enforcing,Permissive和Disabled状态。 Enforcing:强制模式。代表SELinux在运行中,且已经开始限制domain/type之间的验证关系 Permissive:宽容模式。代表SELinux在运行中,不过不会限制 ...

Sat Oct 12 04:08:00 CST 2019 0 2480
了解selinux 及其开启和关闭方法

SElinux是强制访问控制(MAC)安全系统,是linux历史上最杰出的新安全系统。对于linux安全模块来说,SElinux的功能是最全面的,测试也是最充分的,这是一种基于内核的安全系统。 1、SElinux的状态 命令"getenforce"可以查看SElinux ...

Thu Mar 07 21:00:00 CST 2019 0 2152
Linux关闭selinux方法(临时关闭和永久关闭)

临时关闭selinux: 获取当前selinux状态 getenforce Enforcing为开启,Permissive为关闭 临时关闭:setenforce 0 永久关闭selinux: vim /etc/sysconfig/selinux SELINUX ...

Tue Feb 25 23:00:00 CST 2020 0 11514
关闭selinux

[root@XM ~]#cat /etc/selinux/config ##selinux的路径 [root@XM ~]#sed 's#SELINUX=enforcing#SELINX=disabled#g' /etc/selinux/config ##修改加-i [root@XM ...

Fri Jun 28 18:15:00 CST 2019 0 620
如何关闭selinux

第一种临时关闭-重启服务器失效[root@oldboyedu-01 ~]# #查询selinux状态[root@oldboyedu-01 ~]# getenforce Enforcing[root@oldboyedu-01 ~]# #enforcing selinux正在 ...

Fri Apr 03 04:03:00 CST 2020 0 586
查看SELinux状态&关闭SELinux

selinux防火墙状态,如: setenforce 0用于关闭selinux防火墙,但重启后失效 ...

Tue Aug 02 21:32:00 CST 2016 0 5638
查看SELinux状态及关闭SELinux

一、查看SELinux状态: 1、我们可以通过查看配置文件的命令 cat /etc/selinux/config 来查看状态 发现SELinux共有3个状态enforcing (执行中)、permissive (不执行但产生警告)、disabled(关闭)。 2,也可以用这个命令检查 ...

Fri Aug 06 06:00:00 CST 2021 0 236
查看SELinux状态&关闭SELinux

selinux防火墙状态,如: setenforce 0用于关闭selinux防火墙,但重启后失效 ...

Wed Jan 08 23:10:00 CST 2020 0 768
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM