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, mac, terminal, tips

再Linux或Mac的終端機如何清除目前的命令列的輸入?

再Linux或Mac的終端機如何清除目前的命令列? 例如打錯了一堆指令,打錯了想清除從打, 千萬要跟我以前一樣,用倒退鍵慢慢殺了,我們可以用......

linux

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

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

linux

rsync回傳的錯誤碼

這裡列出所有的rsync錯誤碼,因此在排程中,我們可以了解失敗的原因。