Home > Operation and Maintenance > Linux Operation and Maintenance > Linux temporary and permanent shutdown of Selinux

Linux temporary and permanent shutdown of Selinux

藏色散人
Release: 2019-09-17 14:26:34
forward
3255 people have browsed it

Linux temporary and permanent shutdown of Selinux

View the current Selinux status: getenforce

Linux temporary and permanent shutdown of Selinux

Temporarily shut down Selinux: setenforce 0

Linux temporary and permanent shutdown of Selinux

Permanently shut down Selinux:

vim /etc/sysconfig/selinux
将
SELINUX=enforcing
改成
SELINUX=disabled
Copy after login

Linux temporary and permanent shutdown of Selinux

Related recommendations: "Linux Tutorial"

The above is the detailed content of Linux temporary and permanent shutdown of Selinux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:learnku.com
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