summaryrefslogtreecommitdiff
path: root/x11/lightdm/files/patch-data_pam_lightdm
diff options
context:
space:
mode:
authorBen Woods <woodsb02@FreeBSD.org>2016-12-26 06:53:37 +0000
committerBen Woods <woodsb02@FreeBSD.org>2016-12-26 06:53:37 +0000
commit81a45042c342bf0f62a4c96fb97d90ec979d9f23 (patch)
tree590486ac88d7babc478cab49e7a99301356865d8 /x11/lightdm/files/patch-data_pam_lightdm
parentgames/openbor: skip non-existing bor.pak (diff)
Add x11/lightdm and x11/lightdm-gtk-greeter.
Lightdm is a display manager that: * Is cross-desktop - supports different desktops * Supports different display technologies * Is lightweight - low memory usage and fast performance * Has a comprehensive test suite WWW: https://www.freedesktop.org/wiki/Software/LightDM/ lightdm-gtk-greeter is the reference GTK+ greeter for LightDM. WWW: https://launchpad.net/lightdm-gtk-greeter Approved by: adamw (mentor, implicit)
Diffstat (limited to 'x11/lightdm/files/patch-data_pam_lightdm')
-rw-r--r--x11/lightdm/files/patch-data_pam_lightdm26
1 files changed, 26 insertions, 0 deletions
diff --git a/x11/lightdm/files/patch-data_pam_lightdm b/x11/lightdm/files/patch-data_pam_lightdm
new file mode 100644
index 000000000000..7a7b46b1d6fb
--- /dev/null
+++ b/x11/lightdm/files/patch-data_pam_lightdm
@@ -0,0 +1,26 @@
+--- data/pam/lightdm.orig 2015-08-09 23:30:00 UTC
++++ data/pam/lightdm
+@@ -1,13 +1,13 @@
+ #%PAM-1.0
+
+ # Block login if they are globally disabled
+-auth required pam_nologin.so
++account required pam_nologin.so
+
+ # Load environment from /etc/environment and ~/.pam_environment
+-auth required pam_env.so
++#auth required pam_env.so
+
+ # Use /etc/passwd and /etc/shadow for passwords
+-auth required pam_unix.so
++auth required pam_unix.so no_warn try_first_pass
+
+ # Check account is active, change password if required
+ account required pam_unix.so
+@@ -16,5 +16,4 @@ account required pam_unix.so
+ password required pam_unix.so
+
+ # Setup session
+-session required pam_unix.so
+-session optional pam_systemd.so
++session required pam_permit.so