This Site
CMS
Hardware
Backup
Uncategorised
useful sites
Emulators
Powershell
Storage Array
Active Directory
DNS
Antivirus program
Linux
Foto
Licznik







Today107
Yesterday765
This week1953
This month11952
Total1996003
Visitor Info
- IP: 3.238.70.175
- Browser: Unknown
- Browser Version:
- Operating System: Unknown
> >
Who Is Online
2
Online
>
Tuesday, 19 January 2021 05:33
>How to Disable SELinux on CentOS 8





How to temporarily Disable SELinux on CentOS 8
Before you start disabling SELinux on CentOS 8, it’s prudent that you first check the status of SELinux.
Use the command for this:
# sestatus
To temporarily disable SELinux run the command.
This command will disable selinux until restart
# setenforce 0
or
# setenforce Permissive
They will disable selinux until restart
How to Permanently Disable SELinux on CentOS 8
The configuration file for SElinux is located at /etc/selinux/config.
For disable SELinux edit config file and set:
SELINUX=disabled(and REM disable SELINUX=enforcing)