blob: f8c3e79f4632b74558dc69bf918f1d00afaa3ec6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
--- data/pam/lightdm.orig 2015-08-09 23:30:00 UTC
+++ data/pam/lightdm
@@ -1,20 +1,18 @@
-#%PAM-1.0
+#
+# PAM configuration for the "lightdm" service
+#
-# Block login if they are globally disabled
-auth required pam_nologin.so
+# auth
+auth sufficient pam_self.so no_warn
+auth include system
-# Load environment from /etc/environment and ~/.pam_environment
-auth required pam_env.so
+# account
+account requisite pam_securetty.so
+account required pam_nologin.so
+account include system
-# Use /etc/passwd and /etc/shadow for passwords
-auth required pam_unix.so
+# session
+session include system
-# Check account is active, change password if required
-account required pam_unix.so
-
-# Allow password to be changed
-password required pam_unix.so
-
-# Setup session
-session required pam_unix.so
-session optional pam_systemd.so
+# password
+password include system
|