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,system,config

修正CentOS6.x無法再更新的問題

有些地方或許還存在一些老舊程式,只能跑舊的系統。但又希望能執行及安裝一些想要的套件,您或許可以試這招請注意,如果這個系統對您很重要,請自行評估,建議您是Docker環境,並且有備份了image才可嚐試。

seo,linux

使用簡易的bash進行圖檔優化

用bash及Linux的convert指令優化圖檔

linux,mac

MacOS或Linux上的密碼產生器

有時侯我們需要產生一個隨機的密碼,但是想破頭不知用什麼好? 這裡提供一個簡單的bash讓我們輕易的產生一組密碼在終端機上。