Menu Close

Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

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.
# SELINUXTYPE= can take one of these two values:
#       targeted - Targeted processes are protected,
#       mls - Multi Level Security protection.
システムを再起動して、getenforce コマンドが Disabled を返すことを確認します。
~]$ getenforce