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/post-install/kscreenlocker.post-install | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'kde/post-install') 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