tldr/pages/linux/getenforce.md

251 B

getenforce

Get the current mode of SELinux (i.e. enforcing, permissive, or disabled). See also: setenforce, semanage-permissive. More information: https://manned.org/man/getenforce.

  • Display the current mode of SELinux:

getenforce