Description | This article describes how to disable SELinux temporarily or permanently on Linux-based servers. |
Scope | FortiSIEM. |
Solution |
On certain Linux distributions, SELinux is activated by default and operates in Enforcing mode. As a consequence may face such issues:
Workaround: This can permanently disable or put it in Permissive mode.
Step1: Check the SELinux status.
sestatus
Step2: Set SELinux permissive temporarily.
setenforce 0
Or, disable SELinux permanently:
To make these changes, reboot the server:
reboot
After reboot, check with the 'sestatus' command to check SELinux status.
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.