mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
ce4ac09b17
- Update PAM file to include system defaults - Set PATH to default from /etc/login.conf - Don't pass-through empty PATH from lightdm to X11 (breaks runtime)
38 lines
911 B
Plaintext
38 lines
911 B
Plaintext
--- 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
|