How to Disable SELinux Permanently in Linux server?

With the below mentioned command, you can easily disable SELinux permanently in Linux server.
  • Get into editor mode of the file with the below given command.
 vi /etc/sysconfig/selinux
  • Press i to get into Insert mode.
  • Change SELinux=enabled to disabled. Click ESc to exit Insert mode.
  • Use the command :wq!.
That's It !
Check out the blog to read in-detailed procedure.
  • disable SELinux permanently, command to disable SELinux permanently in CentOS Linux server, how to idisable SELinux via SSH, ssh command to disable SELInux on server
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What are some Basic SSH commands?

List of some basic SSH commands are: ls – This command is used to list all files and...

How to connect to SSH?

Putty is an open-source SSH client used to connect to a remote server. This article describes how...

20 Basic Linux Commands and their Uses.

Following are the top 20 basic Linux Commands with Live Examples that would definitely help you...

How to Block/Unblock IPs from SSH?

You can easily block or unblock IPs  from SSH. #1. Block An IP Address from SSH First of all,...

How to install CpCleaner in cPanel through SSH?

CpCleaner is a cPanel plugin created to give cPanel users the option to clean junk files that...