Skip to content

Commit

Permalink
Merge pull request #12843 from alanmcanonical/fix_pwhistory
Browse files Browse the repository at this point in the history
Add -Initial line without use_authtok for pwhistory configuration
  • Loading branch information
dodys authored Jan 21, 2025
2 parents 0776086 + 187986e commit b399879
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shared/macros/10-bash.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,7 @@ Default: yes
Priority: 1024
Password-Type: Primary
Password: {{{ control }}} pam_pwhistory.so remember=24 enforce_for_root try_first_pass use_authtok
Password-Initial: {{{ control }}} pam_pwhistory.so remember=24 enforce_for_root try_first_pass
EOF
fi

Expand Down

0 comments on commit b399879

Please sign in to comment.