1、查看 [root@dev-server ~]# getenforce Disabled [root@dev-server ~]# /usr/sbin/sestatus -v SELinux status: disabled 2、临时关闭 ##设置SELinux 成为permissive ...
.查看命令 getenforce .临时关闭 enforcing gt permissive setenforce .永久关闭 enforcing gt disabled或者permissive gt disabled vim etc selinux config 将SELINUX enforcing改为SELINUX disabled 设置后保存,需要重启才能生效。 ...
2019-02-25 18:04 0 766 推荐指数:
1、查看 [root@dev-server ~]# getenforce Disabled [root@dev-server ~]# /usr/sbin/sestatus -v SELinux status: disabled 2、临时关闭 ##设置SELinux 成为permissive ...
将SELINUX配置文件设置为 disabled 模式,禁用SELinux 使用sed 验证 然后reboot重启生效 工作中linux不能重启 命令先临时关闭 getenforce 查看当前 ...
查看 临时关闭 永久关闭 将SELINUX=enforcing改为SELINUX=disabled 设置后需要重启才能生效 ...
安全增强型Linux(Security-Enhanced Linux)简称SELinux,它是一个 Linux 内核模块,也是Linux的一个安全子系统。为了避免安装过程出现各种错误,建议关闭,有如下两种关闭方法: 1)临时关闭(不建议使用) 但是这种方式只对当次启动有效,重启 ...
临时关闭: [root@localhost ~]# getenforceEnforcing [root@localhost ~]# setenforce 0[root@localhost ~]# getenforcePermissive 永久关闭: [root@localhost ...
查看selinux状态 临时关闭 永久关闭 可以修改配置文件/etc/selinux/config,将其中SELINUX设置为disabled。如果不是用的root账户登录,记得前边加sudo。 ...
[root@localhost ~]# getenforce getenforce查看selinux的状态 状态:开启(Enforcing),关闭(Permissive) [root@localhost ~]#vim /etc/selinux/conf SELINUX ...
1、查看 [root@dev-server ~]# getenforce Disabled [root@dev-server ~]# /usr/sbin/sestatus -v SELinux status: disabled 2、临时关闭 ##设置SELinux ...