Skip to content

Disable SELinux on RHEL 8

Edit

Bash
nano /etc/selinux/config.

Change:

Text Only
SELINUX=enforcing

Change the value to disabled:

SELINUX=disabled

Save changes. Run the following command disable right away:

Bash
sudo setenforce 0
Back to top