by Devin Yang

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

可以執行下方指令查看:
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

如何建ssh金鑰,讓自己的電腦可以連到 GCE的instance

最近剛好開始使用Google的GCE,記錄一下Goolge官方的說明文件,如何產生金鑰給instance使用。 這裡的-C comment會用登入使用者的名稱,另外-t使用rsa。

linux, mac, terminal, tips

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

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

linux

ubuntu找不到add-apt-repository指令

ubuntu找不到add-apt-repository指令