summaryrefslogtreecommitdiffstats
path: root/x11/gdm3/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gdm3/files')
-rw-r--r--x11/gdm3/files/gdm.pam.in6
-rw-r--r--x11/gdm3/files/patch-gui_simple-greeter_extensions_password_gdm-password.pam24
2 files changed, 27 insertions, 3 deletions
diff --git a/x11/gdm3/files/gdm.pam.in b/x11/gdm3/files/gdm.pam.in
index 0849259ad..904b58bbe 100644
--- a/x11/gdm3/files/gdm.pam.in
+++ b/x11/gdm3/files/gdm.pam.in
@@ -1,6 +1,6 @@
#
-# $FreeBSD: ports/x11/gdm/files/gdm.pam.in,v 1.7 2010/07/25 19:35:05 kwm Exp $
-# $MCom: ports-stable/x11/gdm/files/gdm.pam.in,v 1.3 2010/07/21 13:50:46 kwm Exp $
+# $FreeBSD$
+# $MCom: ports/x11/gdm3/files/gdm.pam.in,v 1.1 2011/03/11 13:18:56 kwm Exp $
#
# PAM configuration for the "gdm" service
#
@@ -8,7 +8,7 @@
# auth
#auth sufficient pam_krb5.so no_warn try_first_pass
#auth sufficient pam_ssh.so no_warn try_first_pass
-auth required pam_unix.so no_warn try_first_pass
+auth required pam_permit.so no_warn try_first_pass
%%PAM_KEYRING%%auth optional %%LOCALBASE%%/lib/pam_gnome_keyring.so
# account
diff --git a/x11/gdm3/files/patch-gui_simple-greeter_extensions_password_gdm-password.pam b/x11/gdm3/files/patch-gui_simple-greeter_extensions_password_gdm-password.pam
new file mode 100644
index 000000000..76c523dcb
--- /dev/null
+++ b/x11/gdm3/files/patch-gui_simple-greeter_extensions_password_gdm-password.pam
@@ -0,0 +1,24 @@
+--- gui/simple-greeter/extensions/password/gdm-password.pam.orig 2011-10-19 11:41:52.000000000 -0400
++++ gui/simple-greeter/extensions/password/gdm-password.pam 2012-01-26 00:30:31.982559286 -0500
+@@ -1,19 +1,12 @@
+ # Sample PAM file for doing password authentication.
+ # Distros should replace this with what makes sense for them.
+-auth required pam_env.so
+ auth sufficient pam_unix.so nullok try_first_pass
+-auth requisite pam_succeed_if.so uid >= 500 quiet
+-auth required pam_deny.so
++auth required pam_permit.so
+
+ account required pam_unix.so
+-account sufficient pam_localuser.so
+-account sufficient pam_succeed_if.so uid < 500 quiet
+ account required pam_permit.so
+
+-password requisite pam_cracklib.so try_first_pass retry=3 type=
+ password sufficient pam_unix.so nullok try_first_pass use_authtok
+-password required pam_deny.so
++password required pam_permit.so
+
+-session optional pam_keyinit.so revoke
+-session required pam_limits.so
+ session required pam_unix.so