100-Days-Of-DevOps-Challenge-KodeKloud

Install and Configuration Selinux

Following a security audit, the xFusionCorp Industries security team has opted to enhance application and server security with SELinux. To initiate testing, the following requirements have been established for App server 2 in the Stratos Datacenter:

Steps

  1. Install selinux packages:

     sudo dnf install selinux-policy selinux-policy-targeted policycoreutils policycoreutils-python-utils
    
  2. Modify file in `/etc/selinux/config:

     vi /etc/selinux/config
    

    add this line:

     SELINUX=disabled
    

Good to Know?

SELinux (Security-Enhanced Linux)

SELinux States

Key Commands

Configuration Files