Contact@itspring.com
  • SELinux permanent disbale

    How to disable SELinux permanently in Linux?

    When you install the RHEL, the SELinux features or service is by default enabled in enforcing mode, due to some applications on your system may not support this security mechanism. so to make such application function normally, youhave to disable the SELinux. We can set the SELinux as either enforcing, premissive or disabled.

    First we check the status of SELinux on your system,  by running the following command

    # sestatus

    (or)

    # getenforce

    If we run the sestatus command it will show like below

    In above screen by deafult it will be in enabled.

    If we run the getenforce command it will show like below

    If you run getenforce command it will show only surrent mode of SELinux.

    If we want to disable SELinux permanent we have to do some change in /etc/selinux/config file, edit the file  by following command.

    # vi /etc/selinux/config

    Change the SELINUX=enforcing to SELINUX= disabled like below.

    then save and exit the  file, and reboot your system for effective changes and check the status like shown below.

    Finally the SELinux is disabled permanently.

Most Liked Posts

Post A Comment

Your email address will not be published. Required fields are marked*

F9NR

0 Comments

No Record found
demo content

The Total Economic Impactâ„¢ of ServiceNow

United States Tue Jun 06 2017

Join us for a webinar where we will reveal the quantified value of the Lightspeed Enterprise for customers that are modernizing IT, eliminating service outages, and optimizing performance with real-time analytics.

Guest speakers Liz Witherspoon of Forrester, and study participant Brad Paubel, VP of Internal Technologies at Maritz, will discuss

  • The value drivers for IT and key quantified economic benefits
  • Key challenges that study customers faced and overcame
  • Focus areas and best practices you can use to drive business impact with ServiceNow

Register

Webinar Registration

Enter the characters visible in the box below

Q9F0

Share

Share using

Advertise With Us