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 #%PAM-1.0
auth required pam_unix.so
auth required pam_securetty.so account required pam_unix.so
auth requisite pam_nologin.so password required pam_unix.so
auth include system-local-login session required pam_unix.so
account include system-local-login
session include system-local-login

View File

@ -68,7 +68,7 @@ do_configure:prepend() {
} }
do_install:append() { 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}/greetd.service ${D}${systemd_system_unitdir}
install -m0644 ${S}/config.toml ${D}${sysconfdir}/greetd install -m0644 ${S}/config.toml ${D}${sysconfdir}/greetd
install -m0644 ${WORKDIR}/greetd.pam ${D}${sysconfdir}/pam.d/greetd install -m0644 ${WORKDIR}/greetd.pam ${D}${sysconfdir}/pam.d/greetd