Fedora off, disable SELinux

Source: Internet
Author: User
Fedora three ways to turn off/disable SELinux

Sometimes we want to close selinux in fedora because sometimes it's legal and always pops up to block our operations. Here are three ways to turn selinux off/off.

1. Choose to turn selinux on or off when installing Fedora. Of course, most of those who come here don't come here for this way.

2. Temporarily close SELinux. If you just want to temporarily close, you can enter
setenforce 0

3. Disable SELinux. In/etc can see a SELinux folder, entered, there is a config file, in the terminal into the folder, enter

vi config
Changing the values of the SELinux entries in it will enable the SELinux service to be closed and enabled.
Modify to selinux=disable disable SELINUX
Modify into selinux=enforcing using SELINUX

Fedora off, disable SELinux

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.