setenforce(8)

setenforce8

Modify the mode selinux is running in

Usage

setenforce [{Enforcing | Permissive | 1 | 0}]

Overview

Use Enforcing or 1 to put SELinux in enforcing mode.
Use Permissive or 0 to put SELinux in permissive mode.

If SELinux is disabled and you want to enable it, or SELinux is enabled and you want to disable it, please see selinux(8).

Releases

7 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9–13

Author

Dan Walsh, <[email protected]>

From selinux-utils 3.8.1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.