Define on every program what it’s allows to access
Profiles
etc There are located in /etc/apparmor.d
- U can create profile for each binary
- It’s the path to it ex usr.bin.man
- replace / with .
Overwriting Profile
Create the profile file etc/apparmmor.d/local
Bug!
Can’t overide deny with the local allow u have to change the profile then
Modes
- Enforced It works and stops programs
- Complain Only logs
- Disabled
Create profile based on logs
Example