User:SwifT/selinux-tutorials

SELinux tutorials
SELinux is sometimes seen as a daunting additional security measure on a Linux system. And it probably is, since it requires the users to have some non-basic knowledge of Linux and what SELinux is. In this series of tutorials, I will try to teach you what SELinux is, how you can work with it, how to configure it to your needs, etc.

Throughout the tutorials, I will assume you have access to a SELinux enabled system. This can be a RedHat Enterprise Linux (6 or higher) system, a Fedora system, CentOS, Gentoo Hardened and more. If you can get it to boot, you can even use the selinuxnode (experimental) SELinux-enabled live environment (KVM/Qemu guest) offered through Gentoo's mirrors (in the location).

So, let's get started.


 * 1) The security context of a process
 * 2) How SELinux controls file and directory accesses
 * 3) Controlling file contexts yourself