What is the method to turn off selinux in Linux?

青灯夜游
Release: 2022-01-12 15:19:50
Original
63847 people have browsed it

How to shut down selinux in Linux: 1. Temporarily shut down and enter the "setenforce 0" command in the terminal. 2. To shut down permanently, enter the command "vi /etc/selinux/config", then change the value of SELINUX to "disabled", and finally save and exit.

What is the method to turn off selinux in Linux?

How to turn off SELinux in Linux

1. Temporary shutdown: Enter the command setenforce 0 and restart The system will be turned on later.

2. Permanently shut down: Enter the command vi /etc/selinux/config, change SELINUX=enforcing to SELINUX=disabled, then save and exit.

What is the method to turn off selinux in Linux?

What is the method to turn off selinux in Linux?

Related recommendations: "Linux Video Tutorial"

The above is the detailed content of What is the method to turn off selinux in Linux?. 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!