From 9c3464a84d267b41a4a17bfa2036edcd5006e2da Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Sun, 27 Mar 2022 18:34:11 +0200 Subject: [PATCH] greetd: fix pam file --- recipes-support/greetd/greetd/greetd.pam | 10 ++++------ recipes-support/greetd/greetd_git.bb | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/recipes-support/greetd/greetd/greetd.pam b/recipes-support/greetd/greetd/greetd.pam index 3df0d21..6909b7b 100644 --- a/recipes-support/greetd/greetd/greetd.pam +++ b/recipes-support/greetd/greetd/greetd.pam @@ -1,8 +1,6 @@ #%PAM-1.0 - -auth required pam_securetty.so -auth requisite pam_nologin.so -auth include system-local-login -account include system-local-login -session include system-local-login +auth required pam_unix.so +account required pam_unix.so +password required pam_unix.so +session required pam_unix.so diff --git a/recipes-support/greetd/greetd_git.bb b/recipes-support/greetd/greetd_git.bb index 29d42a6..e405d81 100644 --- a/recipes-support/greetd/greetd_git.bb +++ b/recipes-support/greetd/greetd_git.bb @@ -68,7 +68,7 @@ do_configure:prepend() { } do_install:append() { - install -d ${D}${systemd_system_unitdir} ${D}${sysconfdir}/greetd ${D}${sysconfdir}/pam.d/greetd + install -d ${D}${systemd_system_unitdir} ${D}${sysconfdir}/greetd ${D}${sysconfdir}/pam.d install -m0644 ${S}/greetd.service ${D}${systemd_system_unitdir} install -m0644 ${S}/config.toml ${D}${sysconfdir}/greetd install -m0644 ${WORKDIR}/greetd.pam ${D}${sysconfdir}/pam.d/greetd