centos selinux关闭
来源:互联网 发布:centos 7 win7 引导 编辑:程序博客网 时间:2024/06/04 18:15
1. /etc/sysconfig/selinux
# 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 - SELinux is fully disabled.SELINUX=disabled# SELINUXTYPE= type of policy in use. Possible values are:# targeted - Only targeted network daemons are protected.# strict - Full SELinux protection.SELINUXTYPE=targeted
可以将SELINUX设置为disabled,在下次启动主机时selinux将不再启动2. setenforce
setenforce 0
用该命令可以立即关闭selinux
3. getenforce
用该命令可以查看selinux当前状态
- centos selinux关闭
- centos selinux不重启关闭
- centos关闭selinux
- centos selinux关闭
- centos关闭selinux
- centos 关闭selinux
- CentOS/Linux 关闭SELinux
- CentOS 关闭启用selinux
- CentOS 7 关闭 SElinux
- CentOS关闭SELINUX
- CentOS 关闭防火墙&selinux
- CentOS 6.4永久关闭SELinux
- centos 关闭和启用selinux
- centos 7 关闭SElinux过程
- Centos防火墙及SELINUX关闭
- centos 关闭防火墙以及关闭selinux方法
- SELinux是什么? linux CentOS中如何关闭,禁用SELinux
- 针对 CentOS 的 SELinux 拦截 vsftpd 问题(不关闭SELinux)
- 【android】SD卡插拔 广播消息
- 机器学习相关资料
- 页面屏蔽backspace text 输入框不屏蔽
- 上传文件实例01
- initWithCoder与initWithFrame
- centos selinux关闭
- extern 用法,全局变量与头文件(重复定义)
- 详解 Android 的 Activity 组件
- android-AndroidContacts操作系列之 查看底层联系人表结构
- mysql 界面客户端连接
- poky: COW.py 分析
- CASE: Match multiple lines of text using Regular Expression.
- Android源码在UBUNTU编译全过程
- Oracle内存详解之四 Buffer Cache 数据缓冲区