Security-Enhanced Linux (SELinux) is a Linux kernel security module that provides a mechanism for supporting access control security policies, including mandatory access controls (MAC).

Steps to Disable SELinux

  1. Configure the boot loader to add selinux=0 to the kernel command line.
    # grubby --update-kernel ALL --args selinux=0
  1. Restart the system.
    # reboot
  1. After reboot, confirm that the getenforce command returns “Disabled”.
    # getenforce


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment