Linux SELinux Install

  • Official documentation can be found here.

1. List events

  1. List

    sudo ausearch -m avc,user_avc -ts recent

2. Disable SELinux

You really shouldn’t do this!
  1. Confirm the grubby package is installed

    Check
    rpm -q grubby
    Example
    grubby-8.40-78.fc41.x86_64
  2. Configure the boot loader

    sudo grubby --update-kernel ALL --args selinux=0
  3. Reboot

    sudo reboot
  4. Verify after reboot

    Run
    getenforce
    Result
    Disabled