5.4.2. SELinux の無効化

SELinux を無効にするには、/etc/selinux/configSELINUX=disabled と設定します。
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
#       targeted - Targeted processes are protected,
#       mls - Multi Level Security protection.
SELINUXTYPE=targeted
システムを再起動して、getenforce コマンドが Disabled を返すことを確認します。
~]$ getenforce
Disabled