greetd: fix pam file

This commit is contained in:
Markus Volk 2022-03-27 18:34:11 +02:00
parent 6b2926a933
commit 9c3464a84d
2 changed files with 5 additions and 7 deletions

View File

@ -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

View File

@ -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