首页 > 系统服务 > 详细

selinux配置disable后系统无法启动

时间:2018-06-14 17:39:58      阅读:240      评论:0      收藏:0      [点我收藏+]
故障现象:selinux 配置 disabled 后开机卡在滚动条无法进系统
解决思路:单用户模式下修改修改selinux 配置

                       单用户进入方式
1)开机按 键盘   e    进入系统
2)找到 linux16 开始,LANG=zh_CN.UTF-8结尾一行,尾部加                                   ( 空格 加上 selinux=0)
3)然后 ctrl + x 启动,就看到熟悉的登录界面。

修改正确selinux 
vim /etc/selinux/config

vim /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=disabled

SELINUXTYPE= can take one of three two values:

targeted - Targeted processes are protected,

minimum - Modification of targeted policy. Only selected processes are protected.

mls - Multi Level Security protection.

SELINUXTYPE=targeted

selinux配置disable后系统无法启动

原文:http://blog.51cto.com/adcit/2129403

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!