•  Home
  •  Dashboard
  •  Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
  •  Hosting Services
    • Infrastructure
      • iColocation
    • Compute
      • cMetal
      • cVirtual
    • Storage
      • sObject
      • sBlock
    • Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • Protection
      • pBackup
      • pDDoS
  •  Solutions
    • Ecommerce
    • Finance
    • Gaming
    • Hosting
    • Management
    • Security
    • System Integrator
  •  Support
    • Community
    • Knowledge Base
    • Open A Ticket
  •  USA & Canada: 800-933-1517
  •  International: 626-549-2801
  •  Email: sales@psychz.net
  • Services
    • new-colocation-header-img
      Infrastructure
      • iColocation
    • new-compute-header-img
      Compute
      • cMetal
      • cVirtual
    • new-storage-header-img
      Storage
      • sObject
      • sBlock
    • new-networking-header-img
      Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • new-protection-header-img
      Protection
      • pBackup
      • pDDoS
  • Solutions
    • Ecommerce
    • Security
    • Gaming
    • Hosting
    • Management
    • Finance
    • System Integrator
  • Dashboard

Disable Selinux Centos 7

  • Home
  • Client
  • Qa Forum
  • Disable Selinux Centos 7

Posted By: Robert | 1 Replies | Last Reply On: Oct 03, 2017 07:24:37

How to disable Selinux in Centos 7? 

Psychz - Rahul

Votes: 0Posted On: Oct 03, 2017 07:24:37
 

SELinux has three basic modes of operation, of which Enforcing is set as the installation default mode.
 
The SELinux mode can be viewed and changed by using the SELinux Management GUI tool available on the Administration menu or from the command line by running 'system-config-selinux' (the SELinux Management GUI tool is part of the 'policycoreutils-gui' package and is not installed by default).
 
Use the 'sestatus' command to view the current SELinux status

 

 
# sestatus
SELinux status:                 enabled
SELinuxfs mount:              /selinux
Current mode:                   enforcing
Mode from config file:        enforcing
Policy version:                   21
Policy from config file:       targeted
  

 

To make changes persistent through a system reboot, edit the 'SELINUX=' line in  "/etc/sysconfig/selinux 
 


 cat /etc/sysconfig/selinux 

And set/update it as follows 


SELINUX=disabled

Was this reply helpful?

Related topics

  • How to disable selinux on Almalinux?
  • How to Disable SELinux?
  • Centos 7 Disable Firewall
  • CentOS 7: "CALL IT RED HAT 7 LITE"
  • Upgrade Centos 6 to Centos 7
  • How to secure Mongodb on Centos 7?
  • How to configure an IP range on Centos 7?
  • Setup VPN on CentOS 8
  • Yum Update Not Working on Centos 7
  • Red Hat: Not just about Linux anymore!
  • Firewalld commands for CentOS 7 and CentOS 8
  • Top Hosting Control Panels For Linux
  • Managing systemd services and units using systemctl commands
  • Serious New DDoS Attack Method Surfaces; Threatens Internet Providers, Businesses
  • CDN Hosting and why Every website should utilize a CDN
Copyright © 2025 Psychz Networks,
A Profuse Solutions Inc Company
Hosting Services
Infrastructure
  • iColocation
Compute
  • cMetal
  • cVirtual
Storage
  • sObject
  • sBlock
Networking
  • nCDN
  • nIP Transit
  • nWavelength
Protection
  • pBackup
  • pDDoS
Company
  • About Us
  • Blog
  • Careers
  • Contact Us
  • Data Centers
  • Looking Glass
  • Network
  • Reseller
Policies
  • Acceptable Usage Policy
  • Privacy Policy
  • Service Level Agreement
  • Terms and Conditions
Support
  • Community
  • Knowledge Base
  • Open A Ticket
Get In Touch
  • Psychz Networks,
    A Profuse Solutions Company
    611 Wilshire Blvd #300
    Los Angeles,California 90017
    USA
  • US/Canada: 800-933-1517
  • International: 626-549-2801