aboutsummaryrefslogtreecommitdiffstats
path: root/modules/pam
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-22 13:15:21 +0000
committerMichael Scherer <misc@mageia.org>2010-11-22 13:15:21 +0000
commitaec2005b7a601fafc6a4332a69ea06bbf085fa9c (patch)
tree29258d2e3c42c6ef9fa2febd9e74a04bc642eb9f /modules/pam
parent88eccbe4e62d998c63b9e0342718e4233f282a63 (diff)
downloadpuppet-aec2005b7a601fafc6a4332a69ea06bbf085fa9c.tar
puppet-aec2005b7a601fafc6a4332a69ea06bbf085fa9c.tar.gz
puppet-aec2005b7a601fafc6a4332a69ea06bbf085fa9c.tar.bz2
puppet-aec2005b7a601fafc6a4332a69ea06bbf085fa9c.tar.xz
puppet-aec2005b7a601fafc6a4332a69ea06bbf085fa9c.zip
- use the first pass if proposed ( or pam ask the password 2 times )
Diffstat (limited to 'modules/pam')
-rw-r--r--modules/pam/templates/system-auth2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam/templates/system-auth b/modules/pam/templates/system-auth
index b02aec3a..b98dd362 100644
--- a/modules/pam/templates/system-auth
+++ b/modules/pam/templates/system-auth
@@ -3,7 +3,7 @@ auth required pam_env.so
# basically, the idea is to copy the exact detail of sufficient,
# and add abort=ignore
auth [abort=ignore success=done new_authtok_reqd=done default=ignore] pam_tcb.so shadow fork nullok prefix=$2a$ count=8
-auth sufficient pam_unix.so likeauth nullok
+auth sufficient pam_unix.so likeauth nullok try_first_pass
auth sufficient pam_ldap.so use_first_pass
<% if access_class = 'admin' %>
auth required pam_wheel.so group=mga-sysadmin