Welcome to SELinux HOWTO's!
Below are the some of the best guides and HOWTO's that you will find on SELinux. A HOWTO is a task-driven guide that "offer(s) practical advice and detailed instruction in an activity." Precisely the thing you need to get into SELinux!. The links below provide ample resources for engaging in the process of creating or editing code for different purposes. A HOWTO may address a new SELinux policy or help you to install an SELinux-based distribution. Others still may take you, step by step, through modular policies as well as targeted or static policies.

Either way, if you are looking forward to testing the power of SELinux on your very own system, this is a compilation of some of the best resources you can find.

SELinux HOWTO's!
Beginner users * Intermediate users **
Advanced users ***

2008
2007
  • ( ** ) Step-by-Step Guide to New Policies
    Gives a great overview on taking on your own policies and recommends starting small!

  • ( ** ) Creating an SELinux enabled UML system
    Describes the value of separating the UML kernel from the UML processes to help avoid honey pot and fingerprinting problems.

  • ( *** ) Connect to Remote Database under SELinux
    We made a small php script that simply tries to connect to the remote database. When running the php script in ssh on the web server it works just fine. But when running it under Apache we get a connection failure no matter what we do. If this is you, this is the guide for you.

  • ( * ) Create own SELinux Policy
    Quick, bare bones run down on creating a policy. More like a tip, but still useful.

  • ( *** ) Module Building: Fedora Core 5
    One of the best guides on modules. Very easy to follow.

  • ( * ) EnGarde SELinux Page
    Great index on understanding how SELinux fits into the existing kernel, what to look for and how to get the most value out of it.

2006
  • ( * ) Changing SELinux Booleans
    By following the steps and applying the specific boolean you are looking to change, you will be able to maintain your current environment and settings.

  • ( * ) Booting without SELinux
    A quick Tip on how to use Permissive Mode in EnGarde for use in other server operations.

  • ( ** ) Troubleshooting SELinux
    Is your policy equipped to handle all the programs needed? Are you receiving error messages within SELinux? This will help you to address those problems.

  • ( *** ) Tresys Policy Server
    Guide on setting up a Management server. This assumes a steady knowledge of SELinux and an understanding of basic policies. Includes issues on meta policies and more, and is not fully stable yet.

  • ( ** ) Build SELinux Policy Modules
    Different general overview on Fedora, based on localized policy development.

  • ( *** ) Memory Protection with SELinux
    Learn how to define the ways in which SELinux can limits memory capabilities and provide checks with the proper booleans.

  • ( * ) Turn-Off or Disable SELinux
    Quick tip for managing and enforcing SELinux.

  • ( ** ) SELinux from Scratch
    Take a completely barebones install of Gentoo and learn how to add SELinux to the existing platform.

  • ( ** ) SELinux Support with QEMU and Debian
    A quick HOWTO to get you started with the QEMU emulator, the Debian installer (etch beta 3), and SELinux. If you execute the following steps you'll be left with an SELinux-enabled Debian unstable QEMU image, but not with a complete working and perfectly configured SELinux system.

Pre - 2005