summaryrefslogtreecommitdiffstats
path: root/kde/post-install/sddm-qt5/pam.d/sddm-greeter
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2020-02-13 22:31:04 +0100
committer Eric Hameleers <alien@slackware.com>2020-02-13 22:31:04 +0100
commit670b40d79ec8cfa0662eff5e9df438e618971515 (patch)
tree7155b7a27fbad88273ecab3a3bfc6971c3ddbb1e /kde/post-install/sddm-qt5/pam.d/sddm-greeter
parent445ea2ef242e33c9dd5b1accdab53b9cb5ef3189 (diff)
downloadktown-670b40d79ec8cfa0662eff5e9df438e618971515.tar.gz
ktown-670b40d79ec8cfa0662eff5e9df438e618971515.tar.xz
Add support for building Plasma5 on a PAM-ified Slackware
The variable SLACKPAM is set to "yes" in kde/kde.options if PAM is found installed on the system. Otherwise it is set to "no" and this is meant 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,libpwquality 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
Diffstat (limited to 'kde/post-install/sddm-qt5/pam.d/sddm-greeter')
-rw-r--r--kde/post-install/sddm-qt5/pam.d/sddm-greeter18
1 files changed, 18 insertions, 0 deletions
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