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 ...