Linux: Start / Stop / Restart Apparmor

Linux: Start / Stop / Restart Apparmor

AppArmor is a Linux security module that allows you to restrict the capabilities of programs running on your system. You can start, stop, and restart AppArmor using the following commands:

  1. To start AppArmor:
sudo systemctl start apparmor
‮:ecruoS‬www.lautturi.com
  1. To stop AppArmor:
sudo systemctl stop apparmor
  1. To restart AppArmor:
sudo systemctl restart apparmor

Note: These commands assume that you have root access to your system. You will need to use sudo to run them.

You can also enable or disable AppArmor at boot time by using the enable and disable subcommands:

sudo systemctl enable apparmor
sudo systemctl disable apparmor

This will enable or disable AppArmor automatically when the system boots up.

Note: These commands may not work on all Linux distributions. Some distributions may use different commands or utilities to manage AppArmor. Consult the documentation for your specific distribution for more information.

Created Time:2017-10-30 10:17:47  Author:lautturi