setenforce(1)

setenforce1

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. You need to modify /etc/grub.conf or /etc/selinux/config to disable SELinux.

Files

/etc/grub.conf, /etc/selinux/config

Releases

4 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–4.0
  2. 5.0–6.0

Author

Dan Walsh, <[email protected]>

From selinux-utils 2.0.96-1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.