Skip to main content

SelinuxMode

SELinux mode

CharacteristicValue
Typeenum

Variants

Disabled

Set SELinux to disabled. The mode is set by appending selinux=0 to the kernel command line.

CharacteristicValue
Typestring
Valuedisabled

Permissive

Set SELinux to permissive. The mode is set by appending security=selinux selinux=1 enforcing=0 to the kernel command line and setting SELINUX=permissive in /etc/selinux/config.

CharacteristicValue
Typestring
Valuepermissive

Enforcing

Set SELinux to enforcing. The mode is set by appending security=selinux selinux=1 to the kernel command line and setting SELINUX=enforcing in /etc/selinux/config. The security=selinux arg tells the kernel which LSM to activate. The enforcing/permissive decision is controlled by the config file, allowing runtime changes via setenforce.

CharacteristicValue
Typestring
Valueenforcing