File tree Expand file tree Collapse file tree
chef-repo/cookbooks/2016-security-guide/templates/default Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727password requisite pam_cracklib.so ucredit=-<%= node['security_guide']['strong_passwords']['uppercase'] %> lcredit=-<%= node['security_guide']['strong_passwords']['lowercase'] %> dcredit=-<%= node['security_guide']['strong_passwords']['numbers'] %> ocredit=-<%= node['security_guide']['strong_passwords']['other'] %> retry=<%= node['security_guide']['strong_passwords']['retry_attempts'] %> minlen=<%= node['security_guide']['strong_passwords']['min_length'] %> difok=<%= node['security_guide']['strong_passwords']['different_than_last_by'] %>
2828
2929# here are the per-package modules (the "Primary" block) - this had use_authtok in it originally. I removed it because it was preventing root from changing passwords
30- password [success=1 default=ignore] pam_unix.so obscure try_first_pass sha512
30+ password [success=1 default=ignore] pam_unix.so obscure try_first_pass sha512 rounds=200000
3131
3232# here's the fallback if no module succeeds
3333password requisite pam_deny.so
Original file line number Diff line number Diff line change 2727password requisite pam_cracklib.so retry=3 minlen=10 difok=3 ucredit=-1 lcredit=-2 dcredit=-1 ocredit=-1 retry=3 minlen=8 difok=3
2828
2929# here are the per-package modules (the "Primary" block)
30- password [success=1 default=ignore] pam_unix.so obscure use_authtok try_first_pass sha512
30+ password [success=1 default=ignore] pam_unix.so obscure use_authtok try_first_pass sha512 rounds=200000
3131
3232# here's the fallback if no module succeeds
3333password requisite pam_deny.so
You can’t perform that action at this time.
0 commit comments