How To Disable or Enable Selinux?

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/disable-enable-selinux/
PINTEREST
PINTEREST
INSTAGRAM

I have fedora desktop. I want to run some services but I get error about selinux. How can I disable selinux?

Selinux is a security mechanism used generally linux systems. It has support from linux kernel. Selinux create context for specified services, applications and users. Prevent these to access unrelated or unsecure part of the linux systems. In this tutorial we will look how to disable and enable selinux temporary or persistently.

Get Status Of SELinux

We will get selinux status.

Disable SELinux Persistently

We can disable SELinux persistenly by changing /etc/selinux/config 

Open file with nano. We need to be root to edit this file.

We will se following lines. To disable SELinux SELINUX=disabled 

After this please reboot the system.

Enable SELinux Persistently

Similar to the disable we will change above configuration file SELINUX=enforcing

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/disable-enable-selinux/
PINTEREST
PINTEREST
INSTAGRAM

LEARN MORE  Tcp vs Udp

You may also like...

Leave a Reply

Your email address will not be published.

Enjoy this blog? Please spread the word :)