CertGrid CertGrid
Hands-on Lab·Red Hat Certified System Administrator

SELinux Booleans

One objective, and the easiest SELinux fix when it applies: policy already contains the rule you need and it is switched off. The only trap is `-P` - without it the change is lost at the next reboot, which on a graded exam means it never happened.

Security and SELinux Guide 59 of 67 Beginner

Written against the versions above. **`setsebool` without `-P` is runtime only.** With `-P` it is written to policy and survives a reboot. This is the same started-versus-enabled distinction as services, and it costs marks for the same reason.

Every command on this page runs on RHCSA-A01.
Server NameIP AddressOSRolesCPURAMHDD
RHCSA-A01192.168.0.31RHEL 10.0 (Coughlan)Practice node (graded) - spare /dev/sda2 Core4 GB50 GB + 15 GB

Before you start

  1. What they are

  2. The flag that makes it stick

Official sources