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

ps aux你会了吗?

对於Linux的系统管理者来说肯定要看懂ps aux命令,如果你想成为一个Linux系统管理者,或是你是一个Linux的使用者,都应该都要看的懂这个命令ps就是process status的简称,系统上跑了什么样的进程,状态如何运行的身份是谁都可以透过这个命令查出来。看到一些不该出现的进程,可能系统被入侵,被来挖矿了

linux,termux

如何在android手机背景播放mp4或webm

我有些Youtube下载下来的音档想要在背景播放,我知道如何做啦?

linux, centos, rsnapshot

如何在CentOS 7安装rsnapshot

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