How to Disable SELinux on RHEL 7

Jul 9, 2019 0 comments
SELinux can be intrusive and prevent applications from functioning correctly. For this reason, disabling SELinux is necessary to troubleshoot or run specific software.

To disable SELinux on RHEL 7 systems, use the following steps.

  1. Open up a terminal session on the Linux box and open up the SELinux configuration file with your favorite text editor.
  2. vim /etc/selinux/config

  3. Find the line “SELINUX = enforcing” and change it to the following.
  4. SELINUX=disabled

  5. Save the changes to the configuration file and reboot the system. A shortcut to reboot the system is to use the following command in the terminal session you have open.
  6. Reboot

  7. When the system comes back up, SELinux will be disabled and you are done.

Comments

Related Posts

{{posts[0].title}}

{{posts[0].date}} {{posts[0].commentsNum}} {{messages_comments}}

{{posts[1].title}}

{{posts[1].date}} {{posts[1].commentsNum}} {{messages_comments}}

{{posts[2].title}}

{{posts[2].date}} {{posts[2].commentsNum}} {{messages_comments}}

{{posts[3].title}}

{{posts[3].date}} {{posts[3].commentsNum}} {{messages_comments}}

Search This Blog