SELinux, which stands for Security Enhanced Linux, is an extra layer of security control built into Red Hat Enterprise Linux and its derivative Linux distributions, such as CentOS. SELinux is enabled by default on CentOS 8, and would have to be manually disabled if a user doesn’t wish to use it.
Although SELinux can protect our system through access control for programs and system services, it’s not always necessary to have it enabled. Some users may even find that it interferes with certain programs they try to install. In this guide, we’ll go over the step by step instructions to disable SELinux on CentOS 8, both temporarily or persistently across reboots.
In this tutorial you will learn:
- How to check the status of SELinux
- How to put SELinux in permissive mode
- How to disable SELinux