From 877889508453aff085b8c65e1fd5c16b60ccf25d Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 17 Feb 2020 12:25:12 +0100 Subject: Kscreenlocker: use PAM if available instead of a setuid root binary --- kde/build/kscreenlocker | 1 + kde/post-install/kscreenlocker.post-install | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 kde/build/kscreenlocker diff --git a/kde/build/kscreenlocker b/kde/build/kscreenlocker new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/kde/build/kscreenlocker @@ -0,0 +1 @@ +2 diff --git a/kde/post-install/kscreenlocker.post-install b/kde/post-install/kscreenlocker.post-install index 6d9b558..203cff0 100644 --- a/kde/post-install/kscreenlocker.post-install +++ b/kde/post-install/kscreenlocker.post-install @@ -1,3 +1,4 @@ -# For shadow, this file needs to be setuid root just like the KDE4 version: -chmod +s $PKG/usr/lib$LIBDIRSUFFIX/kcheckpass - +if [ "$SLACKPAM" == "no" ]; then + # For shadow, this file needs to be setuid root: + chmod +s $PKG/usr/lib$LIBDIRSUFFIX/kcheckpass +fi -- cgit v1.2.3