Linux
Command
Library
Basics
Tips
Commands
setenforce
Toggle SELinux between enforcing and permissive modes.
TLDR
Put SELinux in enforcing mode
$ setenforce [1|Enforcing]
Put SELiunx in permissive mode
$ setenforce [0|Permissive]
COLLAPSE ALL
Copied to clipboard