配置selinux
2015-10-11 16:58
363 查看
[root@desktop0 ~]# 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 these two values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
[root@desktop0 ~]# getenforce
Enforcing
# 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,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
[root@desktop0 ~]# getenforce
Enforcing
相关文章推荐
- SELinux导致PHP连接MySQL异常Can't connect to MySQL server的解决方法
- 关闭selinux(防火墙)方法分享
- 查看 SELinux状态及关闭SELinux
- SELinux概述及相关命令
- SELINUX for APACHE VSFTP
- CentOS 6 關閉SELinux
- SElinux
- SElinux 配置与管理
- SELinux配置
- centos7中docker文件挂载,容器中没有执行权限
- selinux未禁用导致httpd无法使用非80等默认端口
- SELinux简介
- SELinux
- SElinux流程图
- 500 OOPS: cannot change directory:/home/
- Centos下Apache和vsftpd共用一个目录
- CentOS 6.2 上安装 Gitolite 时出现 Permission Denied 的解决方法
- SELinux相关操作
- centOS开放http端口
- MySQL 中文网 [MySQL FAQ]启用SELinux后,PHP连接MySQL异常