Welcome to the Linux Foundation Forum!

Checking status of AppArmor

Options
cocobongo
cocobongo Posts: 12
edited July 2023 in LFS207 Class Forum

Hi,

In section 33 - Linux Security Modules, lesson "Checking Status" regarding AppArmor, it's mentioned that:

Profiles and processes are in either enforce or complain mode, directly analogous to SELinux's enforcing and permissive modes.​ Note that in the process, listing the PID is given (command and output below):

$ ps aux | grep libvirtd
root     787  0.0  0.9  527200  35936 ?      Ssl  10:54 0:00 /usr/sbin/libvirtd
student 3346  0.0  0.0   13696   2204 pts/16 S+   11:42 0:00 grep --color=auto libvirtd

However it's not clear to me how this output relates to AppArmor, what am I looking for?

I found this other question in the LFS201 Forums but I guess this is no longer active, since LFS207?

https://forum.linuxfoundation.org/discussion/861899/checking-status-of-apparmor#latest

Thank you.

Best Answer

  • luisviveropena
    luisviveropena Posts: 1,158
    edited July 2023 Answer ✓
    Options

    Hi @cocobongo,

    We just wanted to show how get the process ID of a particular process. It's not specific to the subject of AppArmour in this case. So, just for avoiding unnecessary confusion and we will remove it in the next update.

    Many regards,
    Luis.

Categories

Upcoming Training