Fixing Apparmor: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

23 July 2025

  • curprev 19:5919:59, 23 July 2025 Iwiseman talk contribs 1,410 bytes +1,410 Created page with "=Approach= == Switching an AppArmor Profile to Complain Mode == === Step 1: Enable Complain Mode === Use ''aa-complain'' to switch the target profile: <syntaxhighlight lang="bash"> sudo aa-complain /etc/apparmor.d/unix-chkpwd </syntaxhighlight> This allows the profile to log denials without enforcing them—useful for debugging without service disruption. === Step 2: Reproduce the Issue === Trigger the behavior that was causing denials, such as authentication or servic..."