Difference between revisions of "Guide/Installation"

From SELinux Wiki
Jump to: navigation, search
(New page: == Installing SELinux == === Ubuntu === Starting with Hardy Heron SELinux has been integrated into Ubuntu and can be installed via apt. # Install the selinux package: <pre> # apt-get in...)
 
(No difference)

Latest revision as of 13:54, 26 June 2009

Installing SELinux

Ubuntu

Starting with Hardy Heron SELinux has been integrated into Ubuntu and can be installed via apt.

  1. Install the selinux package:
     # apt-get install selinux 
  2. Change the SELinux mode in /etc/selinux/config (optional):
    • Enforcing
       # sudo sed -i 's/SELINUX=.*/SELINUX=enforcing/' /etc/selinux/config 
    • Permissive
       # sudo sed -i 's/SELINUX=.*/SELINUX=permissive/' /etc/selinux/config 
  3. Reboot

During shutdown all of the files on the system will be labeled. This may take some time depending on how many files you have and disk speed.