summaryrefslogtreecommitdiffstats
path: root/testing/source/vtown/kde/post-install/sddm/pam.d/sddm-autologin
diff options
context:
space:
mode:
Diffstat (limited to 'testing/source/vtown/kde/post-install/sddm/pam.d/sddm-autologin')
-rw-r--r--testing/source/vtown/kde/post-install/sddm/pam.d/sddm-autologin25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/source/vtown/kde/post-install/sddm/pam.d/sddm-autologin b/testing/source/vtown/kde/post-install/sddm/pam.d/sddm-autologin
new file mode 100644
index 000000000..360239544
--- /dev/null
+++ b/testing/source/vtown/kde/post-install/sddm/pam.d/sddm-autologin
@@ -0,0 +1,25 @@
+#%PAM-1.0
+auth requisite pam_nologin.so
+auth required pam_env.so
+auth required pam_shells.so
+
+# Uncomment this line to restrict autologin to users with a UID greater
+# than 999 (in other words, don't allow autologin for root):
+#auth required pam_succeed_if.so uid >= 1000 quiet
+
+auth required pam_permit.so
+-auth optional pam_gnome_keyring.so
+-auth optional pam_kwallet5.so
+
+account include system-auth
+
+password include system-auth
+
+session substack system-auth
+session required pam_loginuid.so
+-session optional pam_ck_connector.so nox11
+-session optional pam_elogind.so
+-session optional pam_gnome_keyring.so auto_start
+-session optional pam_kwallet5.so auto_start
+session include postlogin
+