#on I386 and AMD64 #to disable apparmor totally on Debian: sudo mkdir -p /etc/default/grub.d echo 'GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT apparmor=0"' | sudo tee /etc/default/grub.d/apparmor.cfg sudo update-grub #sudo reboot #================== # WIth armbian, since there's no grub, adding to armbianEnv.txt extraargs=apparmor=0 #and rebooting