ubuntu:apparmor:disable_an_apparmor_profile
Ubuntu - AppArmor - Disable an AppArmor Profile
The /etc/apparmor.d/disable directory can be used along with the apparmor_parser -R option to disable a profile.
sudo ln -s /etc/apparmor.d/profile.name /etc/apparmor.d/disable/ sudo apparmor_parser -R /etc/apparmor.d/profile.name
Re-enable a profile
To re-enable a disabled profile remove the symbolic link to the profile in /etc/apparmor.d/disable/. Then load the profile using the -a option.
sudo rm /etc/apparmor.d/disable/profile.name cat /etc/apparmor.d/profile.name | sudo apparmor_parser -a
ubuntu/apparmor/disable_an_apparmor_profile.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1