This hands-on course equips Linux administrators and security professionals with the skills needed to manage and customize SELinux policies on Red Hat Enterprise Linux 9. Students move beyond simply toggling enforcing mode to gain a thorough understanding of the Mandatory Access Control architecture underlying SELinux, including type enforcement, role-based access control, and the policy framework that governs process and file interactions across the system.
The course covers security contexts and labels, enforcing and permissive modes, and file context management with semanage and restorecon. Students learn to configure booleans, manage network port labeling, and examine policy internals with seinfo and sesearch. The curriculum extends into SELinux user and role mappings, targeted and MLS policy types, MCS translation, polyinstantiated directories, and Linux security hardening for virtual machines and containers via sVirt.
Extensive lab exercises give students practical experience troubleshooting AVC denials, analyzing audit logs, generating policy modules with audit2allow, and writing custom policy modules from scratch using type enforcement files, file context definitions, interface files, and m4 macros. Students leave the course prepared to maintain, extend, and troubleshoot SELinux policies in production RHEL environments.