首页 > 系统服务 > 详细

Disable SELinux CentOS 7

时间:2016-03-28 11:45:26      阅读:329      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!