How to disable SElinux. Print

  • disable selinux, selinux
  • 59

Disabling SELinux

Change the /etc/selinux/config (nano /etc/selinux/config) file to

# 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 - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted


Was this answer helpful?

« Back