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

MacOS或Linux上的密码生成器

有时侯我们需要生成一个随机的密码,但是想破头不知用什么好? 这里提供一个简单的bash让我们轻易的生成一组密码在终端机上。

linux

Raspberry Pi 3 树莓派作业系统安装

这篇文章,分享使用MacOS上的内建命令,进行Raspberry Pi的作业系统安装。 在这个安装过程中关於dd命令,请小心指定您of的参数,即是write output到文件的位置, 指定错了,会毁掉自己的系统哦。