how to disable apparmor on linux

only tested on ubuntu. feedback welcome.

add to the kernel boot parameters: apparmor=0

unfortunately, it requires a reboot. grr… damned windoze programmers tinkering with linux nowadays…

also, on ubuntu…

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

according to https://help.ubuntu.com/12.04/serverguide/apparmor.html that also removes the kernel module.