4.5 Deleting an AppArmor Profile

The following steps describe the procedure for deleting an AppArmor profile.

  1. If you are not currently logged in as root, enter su in a terminal window.

  2. Enter the root password when prompted.

  3. Go to the AppArmor directory with cd /etc/apparmor.d/.

  4. Enter ls to view all the AppArmor profiles that are currently installed.

  5. Delete the profile with rm profilename.

  6. Restart AppArmor by entering rcapparmor restart in a terminal window.