SELinux Guide
Documentation Summary:
Purpose: How to accomplish specific tasks with SELinux in the desktop environment. This requires a major expansion of the content beyond the SELinux FAQ which will be amalgamated into this guide in use case scenarios.
A user who finishes reading this guide should be able to:
- Understand how the Linux kernel, policy, and user tools work together to implement SELinux in Fedora
- Understand the differences and interactions between legacy UNIX access controls and SELinux
- Determine, set, and understand the operational mode of SELinux in a Fedora system
- Determine, set, and understand object and file labels
- Understand how to perform an automatic relabeling of a file system
Audience: Individuals who are unfamiliar with SELinux and who need to learn how to function in an environment with SELinux enabled.
Approach: This document explains basic principles by explaining one principle at a time. The document assumes some familiarity with Linux/UNIX-specific terminology or concepts. Functionality is also compared, where appropriate, to what the reader may know from other OSes, particularly Microsoft Windows.
Assumptions: The reader has a standard Desktop class installation of Fedora with, including a user account with the default settings. The reader does have access to the root password. (We changed this "non-root access" assumption so that we can include more coverage of regular software updates and the installation of alternate packages and desktops.)
Related Documents: dramsey, added the essence of a draft format outline with the following links:
- SELinux
- Understanding SELinux
- Multi Category Security/MCS
- Multi Level Security/MLS
- Loadable Modules
- Fedora 13 - Managing Confined Services Guide
- Policies -
- Discussion of Policies
- Policy Generation Tools
- SELinux Policy Grammar language
- Writing SE Linux policy HOWTO
- Technology -
- An Overview of Object Classes and Permissions
- Integrating Flexible Support for Security Policies into the Linux Operating System (a history of Flask implementation in Linux)
- Implementing SELinux as a Linux Security Module
- A Security Policy Configuration for the Security-Enhanced Linux
- User Guide -
- The SELinux Notebook -
- FAQs -
- Troubleshooting -
Additional Web Site References -
- Red Hat Enterprise Linux 6 - SELinux Guide
- http://danwalsh.livejournal.com/
- http://www.devshed.com/c/a/BrainDump/Demystifying-SELinux-on-Kernel-26/
- http://james-morris.livejournal.com/
- http://docs.fedoraproject.org/selinux-faq
- http://selinuxnews.org/
- http://www.tresys.com/education.php
NSA References -
History -
Recommended Textbook -
- SELinux By Example: Using Security Enhanced Linux by Frank Mayer, Karl MacMillan, David Caplan - Prentice Hall, 2007
Possibly Dated Content References -
Lead Writer:
Writers: MarcWiriadisastra