Skip to content

Disable SELinux on RHEL 8

Edit

nano /etc/selinux/config.

Change:

SELINUX=enforcing

Change the value to disabled:

SELINUX=disabled

Save changes. Run the following command disable right away:

sudo setenforce 0