From 2e396c11f9d76b2a8b1e7a5dc291e7a106dffb2c Mon Sep 17 00:00:00 2001 From: curiosityseeker <60518106+curiosityseeker@users.noreply.github.com> Date: Fri, 19 Jan 2024 18:14:23 +0100 Subject: [PATCH] Update login --- apparmor.d/profiles-g-l/login | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apparmor.d/profiles-g-l/login b/apparmor.d/profiles-g-l/login index 0e278b08..82177368 100644 --- a/apparmor.d/profiles-g-l/login +++ b/apparmor.d/profiles-g-l/login @@ -38,6 +38,7 @@ profile login @{exec_path} flags=(attach_disconnected) { @{exec_path} mr, @{bin}/{,z,ba,da}sh rUx, + @{bin}/unix_chkpwd rPx, @{etc_ro}/environment r, @{etc_ro}/security/limits.d/{,*} r, @@ -55,7 +56,7 @@ profile login @{exec_path} flags=(attach_disconnected) { owner @{user_cache_dirs}/motd.legal-displayed rw, - @{run}/motd.d/ r, + @{run}/motd.d/{,*} r, @{run}/dbus/system_bus_socket rw, @{run}/faillock/* rwk, @{run}/motd.dynamic{,.new} rw,