I’m really happy to announce that SELinux is now available in Ubuntu 8.04 “Hardy Heron”.  This is the result of the amazing work of the ubuntu-security and ubuntu-hardened teams, as well as the huge contributions from the folks at Tresys.  (note: SELinux will not be the default, but is available as a security option.)

If you would prefer to use SELinux over AppArmour, or if you’re just a good soul that would like to help test Ubuntu’s SELinux implementation, please read on.

Install SELinux in Ubuntu 8.04

All that is needed is to install the SELinux package, which will remove AppArmour and apply the SELinux policy.

sudo aptitude install selinux

If you run across any issues or bugs please report them against SELinux on launchpad. Welcome to a more secure Ubuntu!

I post tutorials very regularly on this site. You may want to consider subscribing to the RSS feed. Or if you'd prefer these tips sent to your inbox you can use Email Subscriptions.

Related Posts

Random Posts

Comments

9 Responses to “How To Install SELinux on Ubuntu 8.04 “Hardy Heron””

  1. omegamormegil on March 18th, 2008 9:55 am

    The link to SELinux on Launchpad is broken.

  2. Christer Edwards on March 18th, 2008 10:07 am

    @omegamormegil - I’ve fixed the link, thank you.

  3. Tim on March 18th, 2008 6:58 pm

    Taken from “https://wiki.ubuntu.com/HardySELinux”:
    “If using aptitude instead of apt-get, you will need to manually remove apparmor and apparmor-utils, deselect selinux-policy-dummy, and then choose selinux-policy-refpolicy.”

  4. nightman on March 20th, 2008 2:54 am

    Nice!

  5. Corrin on March 20th, 2008 4:58 pm

    Hi,

    Why does it want to replace 2.6.24-12-generic with 2.6.22-14-xen?

    I don’t want to downgrade to 2.6.22…

  6. Christer Edwards on March 21st, 2008 6:41 am

    @Corrin - that seems odd. Are you running Hardy with the latest updates?

  7. Palmitao1976 on March 24th, 2008 3:23 am

    Very nice posted , thx

  8. Adams on April 4th, 2008 8:27 am

    NSA backdoor?

  9. kindloaf on April 22nd, 2008 11:53 am

    I tried to install SELinux on Hardy SERVER (Release Candidate). However, I got the following error:

    Setting up selinux (0.2) …
    Unknown terminal: dtterm
    Check the TERM environment variable.
    Also make sure that the terminal is defined in the terminfo database.
    Alternatively, set the TERMCAP environment variable to the desired
    termcap entry.
    debconf: whiptail output the above errors, giving up!
    dpkg: error processing selinux (–configure):
    subprocess post-installation script returned error exit status 255
    Setting up selinux-policy-refpolicy-unconfined (0.0.20071214-0ubuntu3) …

    Errors were encountered while processing:
    selinux
    E: Sub-process /usr/bin/dpkg returned an error code (1)

Leave a Reply




    Subscribe to the RSS feed!


    subscribe to the ubuntu tutorials RSS feed

    Get Ubuntu!



  • Blogroll

  • Ads by Google