码迷,mamicode.com
首页 > 系统相关 > 详细

Disable SELinux CentOS 7

时间:2016-03-28 11:47:34      阅读:462      评论:0      收藏:0      [点我收藏+]

标签:

Disable SELinux CentOS 7

This blog covers the basic steps to disable SELinux on CentOS 7

 

first we need to see how SELinux is configured, issue the sestatus command

sestatus

技术分享

as you can see the current mode is enforcing, issue the following command to disable it

sed -i s/enforcing/disabled/g /etc/selinux/config /etc/selinux/config

 

技术分享

 

now issue the sestatus command again

sestatus

 

you should see that the config file, is now going to load it as disabled after the next reboot.

shutdown -r now

issue a reboot

Disable SELinux CentOS 7

标签:

原文地址:http://www.cnblogs.com/equation/p/5328389.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!