Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I remove SELinux in Ubuntu Server 10.04 as the config file is not located in /etc/selinux and the folder /selinux is empty?

share|improve this question
up vote 5 down vote accepted

Ubuntu does not use SELinux. If the directory is annoying you, remove it with:

sudo rmdir /selinux

A similar application to SELinux which is used by Ubuntu is called AppArmor, but this is not enabled by default.

share|improve this answer
I just failed miserably. Thanks for your reply! – Sorin-Mihai Oprea Feb 23 '12 at 11:11


Security-Enhanced Linux (SELinux) is a Linux feature that provides a variety of security policies for Linux kernel. It is included with CentOS / RHEL / Fedora Linux, and many other distributions.


AppArmor (Application Armor) is another security software for Linux . AppArmor was created as an alternative to SELinux. It is included with Ubuntu

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.