•  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

How to Disable SELinux?

  • Home
  • Client
  • Qa Forum
  • How to Disable SELinux?

Posted By: Test | 1 Replies | Last Reply On: Sep 23, 2015 14:18:53

selinux

How to Disable SELinux?

Psychz - Luis

Votes: 0Posted On: Sep 23, 2015 14:18:53
 

Secure-Enhance is a Linux kernel security module that provides access control policies to Linux applications. Selinux can be a problem to  applications if its not properly configure, for example apache pages could show forbidden 403, ssh root/user login will keep rejecting to login, mysql connections being dropped , java disconnects, Minecraft players will drop. Lots of problems that can cause hours of troubleshooting tme,  I do not recommend disabling Selinux but encourage users to learn how to use it, but not many people want to learn something they wont be managing everday, so disabling selinux is easier to do.

 

1. Check if selinux is enable on your local Linux machine.

 [root@lb ~]# sestatus -v
SELinux status: enabled SELinuxfs mount: /selinux Current mode: permissive Mode from config file: enforcing Policy version: 21 Policy from config file: targeted



2. Disabled selinux without rebooting
[root@x ~]# setenforce 0
setenforce: SELinux is disabled



3. Manually disable Selinux to prevent it from re-enabling after areboot.
vi or nano /etc/selinux/config change SELINUX=enforcing to SELINUX=disabled, save changes.




Was this reply helpful?

Related topics

  • How to disable selinux on Almalinux?
  • Disable Selinux Centos 7
  • Centos 7 Disable Firewall
  • Upgrade Centos 6 to Centos 7
  • Red Hat: Not just about Linux anymore!
  • Firewalld commands for CentOS 7 and CentOS 8
  • 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
  • Enable/Disable WebSocket
  • s3Express Guide
  • Top Sources That Will Help You Learn Linux
  • Sensu vs Nagios
  • SaaS, PaaS and IaaS: An Overview
  • Best dedicated server hosting in the world
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