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

ps aux你会了吗?

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

Laravel linux

我的移动电脑,安装Laravel 8在Sony xperia 5 II上

这是我的第一只Android手机,试装Laravel完全没问题耶,基本上我装了vim及mariadb。 运行sshd后,可以透过8022登录哦,完全是一台移动电脑了:p。 我使用的软体是Termux...