Login as:root
[email protected] ' s password:
Last Login:tue Mar 6 03:31:31 2018 from 10.93.143.1
[Email protected] ~]# More/etc/selinux/config
# This file controls the state of the 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=enforcing selinux=disabled changes enforcing to Disabled
# selinuxtype= can take one of three the values:
# targeted-targeted processes is protected,
# Minimum-modification of targeted policy. Only selected processes is pro
Tected.
# Mls-multi level Security protection.
selinuxtype=targeted
[[email protected] ~]# getenforce query selinux status directive
Disabled
[Email protected] ~]#
This article is the original blogger, please indicate the source and author when reproduced. If this article that makes you look like a headache is helpful to you, please give a praise. Thank you!
LINUXCENTOSAMBA7 shutdown SELinux Restart failure appears: Failed to load SELinux Policu freezing