Menu Close

How do I turn SELinux off in Red Hat Enterprise Linux?

Install Grubby

sudo yum install grubby

Configure the boot loader to add selinux=0 to the kernel command line.

sudo grubby --update-kernel ALL --args selinux=0

Restart system

sudo reboot

*To re-enable SELinux run the following command

sudo grubby --update-kernel ALL --remove-args selinux

Sumber: https://access.redhat.com/solutions/3176