635K Subscribers . 295K Views
Welcome to the video - "How to disabled selinux Centos Linux Server | Linux Tutorial 2020 "
In this video you'll learn How to turn off Linux Permission in simple steps
SELinux (Security-Enhanced Linux) is a security feature in CentOS Linux that provides an extra layer of protection for your system. However, if you want to disable SELinux, you can do so by following these steps:
Open a terminal window or log in to the system using SSH.
Edit the SELinux configuration file using your favorite text editor. For example, to use the nano editor, type:
sudo nano /etc/selinux/config
Find the following line in the file:
SELINUX=enforcing
Change enforcing to disabled so that the line reads:
SELINUX=disabled
Save the changes to the file and exit the text editor.
Restart the system to apply the changes. You can do this by running the following command:
This will reboot the system immediately.
After the system reboots, you can verify that SELinux is disabled by running the following command:
getenforce
If the output is Disabled, then SELinux has been successfully disabled.
That's it! You have successfully disabled SELinux on your CentOS Linux system. Keep in mind that disabling SELinux may reduce the security of your system, so it is important to take other measures to ensure the security of your system if you choose to do so.
Please Subscribe and click the notification bell so you never miss a video
Thank You For Watching
#LinuxFullTutorial2020
#LinuxTipsandTricks2020 #LinuxServer #LinuxTeachingHouse