Hi Guys,
I am trying to check if my selinux is disabled/enabled and can't find its config file, why its like that and what should I do to disable it.
cheers, /Marcin
From serverfault
Marcin
-
To change the SELinux to disable you can use the below command:
setenforce 0While this does not replace the config file it will put SELinux into permissive mode until the next reboot, meaning that SELinux is running and logging but not actually controlling permissions.
You can as well try the command:
/usr/bin/system-config-securitylevel-tuiTo totally disable it.
From Guapo -
sestatuswill tell you if SELinux is enabled, as well as a few other characteristics.Marcin : can't run it, no command foundIgnacio Vazquez-Abrams : Then it certainly isn't enabled, since it can't be enabled without other utilities found in the same package. -
The selinux configuration file path under CentOS is
/etc/sysconfig/selinux.Marcin : its not under my dist, doesn't mean its not installed ?From blartffs
0 comments:
Post a Comment