SElinux

来源:互联网 发布:锤子便签mac版 编辑:程序博客网 时间:2024/05/20 09:44

part I:开启和关闭SElinux

setenforce 1 //打开SElinuxsetenforce 0 //关闭SElinux

or

# 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 these two values:#     targeted - Targeted processes are protected,#     mls - Multi Level Security protection.SELINUXTYPE=targeted

part II: SElinux 是什么

Security-Enhanced Linux 简称SElinux

part III:

0 0
原创粉丝点击