# Disable SELinux on Fedora

## Permanently Disable SELinux on Fedora

Update the SELinux configuration file and set `SELINUX=disabled` to permanently disable the SELinux on your system. This will completely disable all the SELinux contexts.

```
sudo nano /etc/selinux/config 
```


Set `SELINUX` value to `disabled`:

```
SELINUX=disabled
```

[![Disable SELinux in Fedora](https://tecadmin.net/wp-content/uploads/2021/06/selinux-disabled-mode.png)](https://tecadmin.net/wp-content/uploads/2021/06/selinux-disabled-mode.png)

Reboot your instance after making changes.

Note – You can again activate the SELinux by setting `SELINUX=enforcing` in configuration file.

[How to Disable SELinux on Fedora](https://tecadmin.net/how-to-disable-selinux-on-fedora/)