2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-21 17:47:10 +00:00

profiles: add authd socket to unix-chkpwd for authd PAM

Fixes: LP: #2120211

Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
This commit is contained in:
Ryan Lee 2025-08-18 16:31:35 -07:00
parent e7daccedc6
commit 6f5a4219d7

View File

@ -30,6 +30,9 @@ profile unix-chkpwd /{,usr/}{,s}bin/unix_chkpwd {
/run/host/userdb/*.user r,
/run/host/userdb/*.user-privileged r,
# authd socket for PAM
@{run}/authd.sock rw,
# file_inherit
owner /dev/tty[0-9]* rw,