From aa2b9cc1ea38251e8165ba24e08504748baef061 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sat, 26 Sep 2020 17:25:01 +0200 Subject: [PATCH] Enable systemd-homed This requires some PAM config updates and disabling SELinux. --- pitti-post.sh | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/pitti-post.sh b/pitti-post.sh index 5491324..a5441e5 100755 --- a/pitti-post.sh +++ b/pitti-post.sh @@ -18,10 +18,69 @@ EOF ln -sfn ../iwd.service /usr/lib/systemd/system/multi-user.target.wants/iwd.service ln -sfn /run/NetworkManager/resolv.conf /etc/resolv.conf +# set up PAM for systemd-homed (https://bugzilla.redhat.com/show_bug.cgi?id=1806949) +patch /etc/pam.d/system-auth <