How to enable AppArmor in Debian for Orange PI 5 看全部

This post was finally edited by stoks2001 at 2023-1-8 11:07

Hi everyone,


Not long time ago i get my board Orange Pi 5, i have plan to use it for my server with Home asisstant.
And i meet with one problem, how to enable AppAramor on Orange pi 5??

I tried add "apparmor=1 security=apparmor" inside u-boot environment,

after that i did "install/update bootloader spi flash" --- but no change, apparmor still of

Also i tried to enable "CONFIG_LSM="landlock,lockdown,yama,integrity,apparmor,bpf" --- but i i think that need to recompli kernal and i dont know how top do it.

Please help to me.
i found solution in this article

https://tadeubento.com/2019/armbian-enable-apparmor/