Pages

Friday, June 18, 2010

Disable and Remove Apparmor from Ubuntu Linux 7.04-8.10


AppArmor is a security extension (similar to SELinux) that should provide extended security on your Ubuntu system and it usually causes more problems than advantages. It can be removed safely and your system will remain reasonably secure, as nothing on the internet is absolutely secure. (This is a must do step if you want to install ISPConfig)

We can disable it like this:

/etc/init.d/apparmor stop
update-rc.d -f apparmor remove

And remove it with:

apt-get purge apparmor apparmor-utils

-or-

aptitude remove apparmor apparmor-utils

You may then optionally remove the apparmor & apparmor.d directories & contents from the /etc directory.