Start stop and remove AppArmor in Ubuntu

Start stop and remove AppArmor in Ubuntu


AppArmor is a security extension (similar to SELinux) that should provide extended security, which usually causes more problems than advantages.
AppArmor was first made available to Ubuntu in Ubuntu 7.04 in Universe. AppArmor is usually installed and loaded by default.

Stop AppArmor:

sudo /etc/init.d/apparmor stop


Start AppArmor:

sudo /etc/init.d/apparmor start


Reloading AppArmor profiles:

sudo /etc/init.d/apparmor reload


Remove from services (it doesnt load anymore at system start-up). First you need to stop it as shown above:

sudo update-rc.d -f apparmor remove


Install the AppArmor service:

sudo update-rc.d apparmor defaults


To see the status of service:

sudo apparmor_status


After reboot i have noticed that apparmor is still running even after being removed from system start-up. So, i have uninstalled it:

sudo apt-get remove apparmor


Resources: Ubuntu.com

download file now

Comments

Popular posts from this blog

Spider Man Friend Or Foe ISO Free Download PPSSPP Setting

Sorry Mutter closed unexpectedly on Ubuntu 10 10

Solution Ubuntu 10 04 minimize maximize and close button to right