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

移除Ubuntu上旧版本用不到的Linux Kernel

这个页面描述我如何移掉 ubuntu上占空间的旧版本Linux Kernel。

linux,docker

如何在Container内运行X client及X Window简介(docker gui)

今天来跟大家谈谈X,不是iPhone X,也不是X战警哦 ,而是X Window System, 他是目前Linux系统主要的图形化界面显示组件。 由於他非常易於扩展及模块化,打从1986年创建,就一直使用至今。 X Window系统采用的为Client / Server的架构,把应用进程跟显示拆分为二, X Windows的应用进程通常我们称为X Client,而显示则是大家所熟知的X Server。 X client与X server透过X协议(X protocol)沟通,这是一个异步的网络通信协议。

linux, mac, terminal, tips

再Linux或Mac的终端机如何清除目前的命令行的输入?

再Linux或Mac的终端机如何清除目前的命令行? 例如打错了一堆命令,打错了想清除从打, 千万要跟我以前一样,用倒退键慢慢杀了,我们可以用......