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

无密码询问,生成ssh密钥对

有时进行自动设置时,需要生成ssh的密钥对。 命令行无密码询问,生成ssh密钥对。

linux

关於setfacl

我想现在的Linux大多支持Access Control List (ACL)。在文件系统ACL激活的情况下, 我们可以设置额外的权限给不同的使用者或群组。 这让我们更加自由的来设置不同使用者的文件系统权限。 直接来看命令。

linux

旧版CentOS 6.2编译git过程

本文使用的CentOS 6.2进行,进行重build curl及git过程。 主因是因为作业系统太旧,我直接由source build最新版本的git。