Sep 13, 2018

How to check / change SELinux in linux

$ sudo -i sestatus
to get the status.

To change the setting:

you can edit the /etc/sysconfig/selinux file

#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
SELINUX=permissive