SELinux

From LinuxFanBoy

Jump to: navigation, search

Security Enhanced Linux (SELinux) is mostly disliked by systems administrators because it is always breaking things. It was developed by the National Security Agency (USA) and provides excellent security. You should learn to love it.


Get the current status:

sestatus -v

/etc/sysconfig/selinux 

Turn SELinux on and off

setenforce enforcing
cat "1" > /selinux/enforce


ls -Z /etc/passwd
ls -Z /

Image:ls-Z.png

system-config-selinux

Image:system-config-selinux.png

Personal tools