mirror of
https://github.com/flatcar/scripts.git
synced 2026-03-04 04:51:43 +01:00
overlay coreos/config: Add pam_selinux to systemd PAM configs
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
This commit is contained in:
parent
f8d18f7052
commit
55f4386ba8
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user