--- xml/htdocs/proj/en/hardened/selinux/selinux-handbook.xml 2010/06/25 16:07:19 1.9 +++ xml/htdocs/proj/en/hardened/selinux/selinux-handbook.xml 2012/06/24 11:54:39 1.16 @@ -1,15 +1,17 @@ - + - + Gentoo SELinux Handbook Chris PeBenito - + + Sven Vermeulen + Chris Richards @@ -22,130 +24,187 @@ -2.00 -2006-10-15 +4 +2011-09-18 -Installing Gentoo SELinux +Introduction to Gentoo/Hardened SELinux -In this part you learn how to install Gentoo SELinux on your system. +In this part we cover what SELinux is and how it is positioned within the +Gentoo/Hardened project. -Gentoo SELinux Installation +Enhancing Linux Security -How to do a fresh installation of Gentoo SELinux. +Security is more than enabling a certain framework or installing a different +Linux kernel. It is a way of working / administrating your Gentoo Linux system. +We cover a few (generic) best practices, and then elaborate on what Mandatory +Access Control is and how SELinux fills in this gap. - + - - -Converting to Gentoo SELinux + +SELinux Concepts -SELinux alternatively can be installed on current Linux installations. This -Chapter deals with converting a prexisting Gentoo install to SELinux. +To be able to properly work with SELinux, it is vital that you understand a few +of its concepts like domains, domain transitions and file contexts. Without +a basic understanding of these aspects, it will be difficult to understand +how SELinux policies work and how to troubleshoot if things go wrong. + + + -Initial preparations +SELinux Resources -A few preparations must be done before installing SELinux packages. +To get more acquainted with SELinux, many resources exist on the Internet. +In this chapter we give a quick overview of the various resources as well +as places where you can get more help when you are fighting with SELinux. - + + + -Working with SELinux +Using Gentoo/Hardened SELinux + +With the theoretic stuff behind us, let us start by installing Gentoo/Hardened +with a SELinux kernel as well as the SELinux tools. + + + +Gentoo SELinux Installation / Conversion -Learn how to work with SELinux +To set up SELinux within Gentoo/Hardened, you first need to install Gentoo with +the correct Hardened profile (or convert to the Hardened profile) and then +update your system to become a SELinux-managed system. This chapter will guide +you through this process. + + + -SELinux Overview +Configuring SELinux For Your Needs -SELinux has many parts to understand. This chapter discusses SELinux's -important concepts and policy. +With SELinux now "installed" and enabled (although in permissive mode), we now +configure it to suit your particular needs. After all, SELinux is a Mandatory +Access Control system where you, as security administrator, define what is +allowed and what not. - + + -SELinux HOWTO +SELinux Commands -This chapter deals with how to common operations in SELinux. +Let's take a step back and get to know a few more commands. We covered most of +them in the previous section, but we will now dive a bit deeper in its +syntax, features and potential pitfalls. - + + -SELinux FAQ +Permissive, Unconfined, Disabled or What Not... -This chapter deals with frequently asked questions in SELinux. +Your system can be in many SELinux states. In this chapter, we help you switch +between the various states / policies. - + + -SELinux Management Infrastructure +Modifying the Gentoo Hardened SELinux Policy -The chapter deals with managing SELinux using the management infrastructure. +Gentoo Hardened offers a default policy, but this might not allow what you want +(or allows too much). In this chapter we tell you how you can tweak Gentoo's +policy, or even run your own. - + + -Local Policy Modules +Troubleshooting SELinux -The chapter deals with adding rules and new modules to your policy. +Everything made by a human can and will fail. In this chapter we will try to +keep track of all potential issues you might come across and how to resolve +them. - + + -SELinux Reference Materials +Change History -This has a list of external references on SELinux. +As documentation evolves with the technology, this handbook too sees its fair +share of changes. To allow users, who are already on SELinux, to verify if there +are any changes they need to be aware off, this chapter lists the changes in +chronological order. - + +