setenforce 1

Category: VPS Management

setenforce 1

Switch SELinux to enforcing mode

Use `setenforce 1` to switch SELinux to enforcing mode. Helpful when you need this quickly on a Linux server.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.