by Devin Yang

建立於: 7年前 ( 更新: 7年前 )

可以執行下方指令查看:
getenforce
出現
Enforcing
代表啟用中。
可以看設定檔
cat /etc/selinux/config
結果類似如下:
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of three two values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

Tags: linux system

Devin Yang

文章內容無法一一說明,如果您有什麼不了解處,歡迎提問哦:)

No Comment

Post your comment

需要登入才可留言!

類似的文章


linux

Raspberry Pi 3 樹莓派作業系統安裝

這篇文章,分享使用MacOS上的內建指令,進行Raspberry Pi的作業系統安裝。 在這個安裝過程中關於dd指令,請小心指定您of的參數,即是write output到檔案的位置, 指定錯了,會毀掉自己的系統哦。

linux

如何在RHEL 7/CentOS7/Fedora變更timezone

在新版的RHEL 7/CentOS 7或Fedora上,我們可以透過timedatectl來查看狀態及進行調整。

php,linux

WebShell功能介紹及注意事項

突然想來介紹什麼是WebShell就上網找了一個,他的功能已相當好了, 不過我還想要一些功能,於是就用了三個晚上的時間,替他進行了一些小小的優化。 如果,您還沒聽過WebShell,快來看看這個影片吧。 如果您喜愛我的優化版本,請給我個讚哦,謝謝啦。