kscreenlocker: fix can't unlock screen
Kcheckpass needs a PAM configuration file to communicate with PAM to verify the password to unlock the screen. Signed-off-by: Luis Gustavo S. Barreto <gustavo@ossystems.com.br>
This commit is contained in:
14
recipes-kde/plasma/untier/kscreenlocker/files/kde.pam
Normal file
14
recipes-kde/plasma/untier/kscreenlocker/files/kde.pam
Normal file
@@ -0,0 +1,14 @@
|
||||
#%PAM-1.0
|
||||
|
||||
auth requisite pam_nologin.so
|
||||
auth required pam_env.so
|
||||
auth required pam_unix.so nullok
|
||||
|
||||
account required pam_unix.so
|
||||
|
||||
session required pam_limits.so
|
||||
session required pam_unix.so
|
||||
-session optional pam_systemd.so
|
||||
-session optional pam_kwallet5.so
|
||||
|
||||
password required pam_unix.so
|
||||
@@ -26,12 +26,20 @@ PV = "${PLASMA_VERSION}"
|
||||
SRC_URI[md5sum] = "173888c9ce09eb9979c90735b0664d65"
|
||||
SRC_URI[sha256sum] = "3ae7c40c4394c32eafe560694b58aafa841f613451a9543d7fbf5d68e79e4bb2"
|
||||
|
||||
SRC_URI += "file://kde.pam"
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${sysconfdir}/pam.d
|
||||
install -m 644 ${WORKDIR}/kde.pam ${D}${sysconfdir}/pam.d/kde
|
||||
}
|
||||
|
||||
FILES_${PN} += " \
|
||||
${datadir}/dbus-1 \
|
||||
${datadir}/kconf_update \
|
||||
${datadir}/k*5 \
|
||||
${datadir}/plasma \
|
||||
${datadir}/ksmserver \
|
||||
${sysconfdir} \
|
||||
${OE_QMAKE_PATH_PLUGINS} \
|
||||
"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user