Ubuntu – Manage Apparmor

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 doesn’t 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, to uninstalled it:

sudo apt-get remove apparmor

Leave a Reply

Your email address will not be published. Required fields are marked *

*