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

rsync如何自動允許ssh金鑰指紋

當我們第一次使用ssh進行主機連線時,會顯示一個主機金鑰的指紋確認。 有時進行一些自動化的排程使用rsync,或許遠端主機變更了,需要自動允許, 如何讓ssh自動允許指紋進行連線,不需使用互動模式手動去壓yes呢?

linux

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

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

linux

關於setfacl

我想現在的Linux大多支援Access Control List (ACL)。在檔案系統ACL啟用的情況下, 我們可以設定額外的權限給不同的使用者或群組。 這讓我們更加自由的來設定不同使用者的檔案系統權限。 直接來看命令。