SELinux 無効化

SELinux 無効化

SELinuxを無効化に設定する

/etc/selinux/configをSELINUX=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 three values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

設定値の説明

① SELINUX

enforcing….SELinux セキュリティポリシーを強制
permissive..SELinux が強制される代わりに警告を表示
disabled…..SELinux ポリシーの読み込みをしない

② SELINUXTYPE

targeted……ターゲットポリシーを保護
mls………….マルチレベルセキュリティ保護。

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です