关闭SELinux的方法
来源:互联网 发布:linux apache下载64位 编辑:程序博客网 时间:2024/05/01 12:20
关闭SELinux的方法:
修改/etc/selinux/config文件中的SELINUX="" 为 disabled ,然后重启。
如果不想重启系统,使用命令setenforce 0
注:
setenforce 1 设置SELinux 成为enforcing模式
setenforce 0 设置SELinux 成为permissive模式
在lilo或者grub的启动参数中增加:selinux=0,也可以关闭selinux
#---------------------------------------------------------------
查看selinux状态:
/usr/bin/setstatus -v
如下:
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: enforcing
Policy version: 21
Policy from config file: targeted
修改/etc/selinux/config文件中的SELINUX="" 为 disabled ,然后重启。
如果不想重启系统,使用命令setenforce 0
注:
setenforce 1 设置SELinux 成为enforcing模式
setenforce 0 设置SELinux 成为permissive模式
在lilo或者grub的启动参数中增加:selinux=0,也可以关闭selinux
#---------------------------------------------------------------
查看selinux状态:
/usr/bin/setstatus -v
如下:
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: enforcing
Policy version: 21
Policy from config file: targeted
getenforce/setenforce查看和设置SELinux的当前工作模式
http://www.dianli8.net/
- 关闭SELinux的方法:
- 关闭SELinux的方法
- 关闭SELinux的方法:
- 关闭selinux 的方法
- 关闭SELinux的方法
- 关闭SELinux的方法
- 关闭SELinux的方法
- 关闭selinux的方法
- SELinux状态和关闭SELinux的方法
- 不重启关闭SeLinux的方法
- 关于关闭SELinux的方法
- Linux下查看SELinux状态和关闭SELinux的方法
- Linux下查看SELinux状态和关闭SELinux的方法
- Linux下查看SELinux状态和关闭SELinux的方法
- 不重启Linux服务器关闭SeLinux的方法
- Fedora关闭SELinux正确的方法
- Linux系统关闭SELinux正确的方法
- 不重启Linux服务器关闭SeLinux的方法
- MySQL 存储过程的异常处理
- spring features
- C++ 虚函数表解析
- (1)webrtc环境的搭建、及代码的下载
- thinking in java 学习笔记(二)之控制执行流程
- 关闭SELinux的方法
- 多线程的那点儿事(之大结局)
- Media Query & Asset Downloading Tests
- Spring 定时任务记录
- U盘安装CentOS 5.5-转
- ubuntu11.10 系统开机卡在checking battery
- GitHub
- Linux PROC文件系统详细介绍 && EXPORT_SYMBOL的用法
- 数据块转储