• Contact Us
  • Home

Disabling SELinux

Written by Nick Mower

Updated at August 7th, 2024

  • Quick Start
  • Installation
    Best Practices Configuration Troubleshooting Design Performance Platform
  • Maintenance
    Releases Upgrade
  • Reference
+ More

Table of Contents

Check to see if SELinux is installed

Check to see if SELinux is installed

RedHat, CentOS and SUSE

rpm -qa | grep selinux

Debian and Ubuntu

dpkg --list | grep selinux

Check to see if SELinux (Security-Enhanced Linux) is enabled

sestatus

No response indicates SELinux is not installed/enabled If enabled, edit the /etc/sysconfig/selinux file. This file is a symlink to /etc/selinux/config. The configuration file is self-explanatory. Changing the value of SELINUX or SELINUXTYPE changes the state of SELinux and the name of the policy to be used the next time the system boots.

sudo vi /etc/selinux/config
SELINUX=permissive or enforcing

Change "permissive" or "enforcing" to "disabled".

Copyright © 2020-2024 Symas Corporation. All rights reserved.
selinux disable quickstart debian ubuntu centos redhat suse

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Enable/Disable GUI from Server Install
  • Configuring iptables (Opening LDAP Ports)
  • Logging Configuration for RHEL / Centos
  • Symas Blog RSS Feed
  • Symas on Facebook
  • Symas on Twitter
  • Symas Blog
  • Symas on LinkedIn
  • Symas YouTube Channel

Copyright © 2023, Symas Corporation. All rights reserved. Privacy Statement (updated July 31, 2023)

Phone:

Main Office: +1.650.963.7601
Fax: +1.650.390.6284

Email:

Sales: sales@symas.com
Support: support@symas.com

Office Hours:

8:00 AM - 5:00 PM ET

Office Location:

Symas Corporation
PO Box 391
Grand Junction, CO 81507 USA

Expand