Answers for "selinux ??"

5

selinux

//This disables selinux this boot
$ setenforce 0

//To entirely disable selinux
$ sudo vi /etc/sysconfig/selinux

//Change the SELINUX=enforcing directive to SELINUX=disabled.

//Then reboot
Posted by: Guest on August-18-2020
0

selinux

$ /usr/sbin/getenforce
Disabled
Posted by: Guest on January-16-2021
0

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.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
#       targeted - Targeted processes are protected,
#       mls - Multi Level Security protection.
SELINUXTYPE=targeted
Posted by: Guest on January-16-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language