Get the App
SLTechnology News&Howtos  ›  Development  › 

How centos shuts down selinux

Shulou Source: shulou.com Published: 2022-06-02 01:30:26 09月28日 Update

This article mainly introduces centos how to close selinux, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to know about it.

Selinux's high-level security system has a performance consumption of 10% and 20%. General commercial use is unnecessary, so there is no need to ask for trouble. Centos is on by default and needs to be turned off by setting it.

Modify the / etc/selinux/config file, SELINUX=disabled, and restart.

If you do not want to restart and shut down selinux, you can use the command setenforce 0.

View selinux status: getenforce

Thank you for reading this article carefully. I hope the article "how centos shuts down selinux" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Tags: Articles advanced security necessary not used value interest at the same time commands business performance files more friends status knowledge systems braiding asking for trouble industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Apple Xiaomi Redmi Huawei