System fails to boot after SELinux configuration disable

Source: Internet
Author: User

Symptom: SELinux configuration disabled after the boot card in the scroll bar failed to enter the system
Workaround: Modify the SELinux configuration in single-user mode

                       单用户进入方式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 the SELinux on the system. Selinux= can take one of the these three Values:enforcing-selinux security policy is enforced.permissive-selinux prints WA Rnings instead of Enforcing.disabled-no SELinux policy is loaded.

Selinux=disabled

Selinuxtype= can take one of three, values:targeted-targeted processes is protected,minimum-modification of target Ed Policy. Only selected processes is Protected.mls-multi level Security protection.

selinuxtype=targeted

System fails to boot after SELinux configuration disable

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.