How do I remove SELinux?

14,989

Solution 1

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.

Solution 2

SELinux

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

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

Share:
14,989

Related videos on Youtube

Sorin-Mihai Oprea
Author by

Sorin-Mihai Oprea

Updated on September 18, 2022

Comments

  • Sorin-Mihai Oprea
    Sorin-Mihai Oprea almost 2 years

    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?

  • Sorin-Mihai Oprea
    Sorin-Mihai Oprea over 12 years
    I just failed miserably. Thanks for your reply!