Skip to content

selinux

Current state

sestatus

Disable runtime

$ echo 0 > /selinux/enforce
# or
$ setenforce 0

Permanent disable

$ cat /etc/selinux/config
SELINUX=disabled
SELINUXTYPE=targeted
SETLOCALDEFS=0