overlay coreos/config: Add pam_selinux to systemd PAM configs

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
This commit is contained in:
Krzesimir Nowak 2025-11-13 13:14:06 +01:00
parent f8d18f7052
commit 55f4386ba8

View File

@ -91,10 +91,13 @@ cros_post_src_install_flatcar_stuff() {
# with our own.
newpamd - "systemd-user" <<'EOF'
account include system-auth
session required pam_selinux.so close
session required pam_selinux.so nottys open
session include system-login
EOF
newpamd - "systemd-run0" <<'EOF'
account include system-auth
session include system-selinux
session include system-login
EOF