Home  >  Article  >  Operation and Maintenance  >  What is the method to turn off selinux in Linux?

What is the method to turn off selinux in Linux?

青灯夜游
青灯夜游Original
2020-08-29 15:55:0063921browse

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!

Statement:
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