Oracle Linux: Not Able to Set SELinux Value to Permissive Mode by setting 'SELINUX=permissive' in Configuration File /etc/sysconfig/selinux
(Doc ID 2514349.1)
Last updated on JANUARY 29, 2020
Applies to:Linux OS - Version Oracle Linux 6.0 and later
After settings the Selinux value to permissive mode in /etc/sysconfig/selinux and restart of the server, sestatus is still showing disabled.
# setenforce permissive
setenforce: SELinux is disabled
SELinux status: disabled
Selinux was set to the permissive mode in /etc/sysconfig/selinux
# cat /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document