2014년 7월 11일 금요일

How to disable SELINUX at RedHat 7.x, CentOS 7.x

How to disable SELINUX at RedHat 7.x, CentOS 7.x

  • If you would like to disable SELinux (Security-Enhanced Linux),
  • configure '/etc/selinux/config'
# vi /etc/selinux/config
# 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  # change this
# SELINUXTYPE= can take one of these two values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted
  • reboot system
# reboot

댓글 없음:

댓글 쓰기