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

MacOS或Linux上的密码生成器

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

linux, centos, rsnapshot

如何在CentOS 7安装rsnapshot

rsnapshot是一个采用rsync为基础的工具,他可以进行快照式的增量备份,不过我们在CentOS下了which rsnapshot怎么没有这个命令呢,用yum install rsnapshot没有辨法安装?

linux

如何安装monitor工具htop到CentOS上

Htop是一个基於Linux的免费(GPL)基於ncurses的进程monitor工具。 他类似於top,但允许您垂直和水平滚动,所以您可以看到运行在系统完整的命令行, 以及可将它们视为进程树,选择多个进程并进行操作。