Skip to main content

Use SELinux

ol lab tutorial ol-admin
Table of Contents


🌙 Lab

🗒 Tutorial


SELinux is a set of kernel mods and user-space tools that provide another layer of system security, precise access control, system-wide admin-defined policies, and improved mitigation for privilege escalation attacks.

These guides walk you through using these user-space tools to help keep your system running in enforcing mode.


In this lab, you’ll learn to:

  • Check SELinux mode and status
  • Understand SELinux security labels
  • Work with SELinux network services
  • Use SELinux users
  • Change SELinux booleans
  • Evaluate SELinux file contexts


  • A system with Oracle Linux 8 installed with the following configuration:
    • a non-root user with sudo permissions