Fedora Archives

How to control SELinux in CentOS and Fedora

SELinux – when installed – can take on one of three modes: To check which mode SELinux is running on, we can use either sestatus for a more detailed output, or simply getenforce for a one liner: sestatus SELinux status: enabled SELinuxfs mount: /sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: enforcing … Read more