From 55bb52de959214602121867d55723cf27d7684a7 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 6 Oct 2019 23:36:02 +0200 Subject: Add support for building Plasma5 on a PAM-ified Slackware Set the variable SLACKPAM to "yes" in kde/kde.options if you want to add support for PAM. These packages will be supplied by a pam-ified Slackware, so they should not be installed from 'ktown': deps:ConsoleKit2,cracklib These packages will react to SLACKPAM variable setting: plasma:kscreenlocker,plasma-workspace plasma-extra:sddm-qt5 Uncomment in kde/modules/plasma and compile: plasma:kwallet-pam --- kde/post-install/sddm-qt5/pam.d/sddm-greeter | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 kde/post-install/sddm-qt5/pam.d/sddm-greeter (limited to 'kde/post-install/sddm-qt5/pam.d/sddm-greeter') diff --git a/kde/post-install/sddm-qt5/pam.d/sddm-greeter b/kde/post-install/sddm-qt5/pam.d/sddm-greeter new file mode 100644 index 0000000..7c77b68 --- /dev/null +++ b/kde/post-install/sddm-qt5/pam.d/sddm-greeter @@ -0,0 +1,18 @@ +#%PAM-1.0 + +# Load environment from /etc/environment and ~/.pam_environment +auth required pam_env.so + +# Always let the greeter start without authentication +auth required pam_permit.so + +# No action required for account management +account required pam_permit.so + +# Can't change password +password required pam_deny.so + +# Setup session +session required pam_unix.so +session optional pam_systemd.so +session optional pam_elogind.so -- cgit v1.2.3