AppArmor security module

In Debian-based distributions such as MX Linux, Ubuntu, or Linux Mint, as well as in other distributions, it is advisable to enable AppArmor.

AppArmor is an additional security module for the Linux system. However, RPM-based systems have the SELinux module with similar functions.

To enable AppArmor, you should install it with the following command:

sudo apt install apparmor-utils apparmor-profiles apparmor-profiles-extra

Then, you can activate AppArmor using the following commands:

sudo systemctl start apparmor
sudo systemctl enable apparmor

You can check the status of the AppArmor service with the following command:

systemctl status apparmor

Alternatively, you can use the command:

sudo apparmor_status

or:

sudo aa-status