How centos shuts down selinux
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!