How to close selinux

hzc
Release: 2020-06-13 14:08:07
Original
6448 people have browsed it

How to close selinux

How to close selinux?

Turn off SELinux:

1. Temporarily shut down (no need to restart the machine):

setenforce 0

##Set SELinux into permissive mode

##setenforce 1 Set SELinux to enforcing mode

2. To modify the configuration file, you need to restart the machine:

Modify the /etc/selinux/config file

Change Change SELINUX=enforcing to SELINUX=disabled

Just restart the machine

Recommended tutorial: "linux tutorial"

The above is the detailed content of How to close selinux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template