Skip to content

Commit

Permalink
common: users/pam: increase the number of rounds for hashing group pa…
Browse files Browse the repository at this point in the history
  • Loading branch information
nodiscc committed Sep 1, 2022
1 parent 7a8c3a3 commit f50b54e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions roles/common/templates/etc_login.defs.j2
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ ENCRYPT_METHOD SHA512
# If only one of the MIN or MAX values is set, then this value will be used.
# If MIN > MAX, the highest value will be used.
#
# SHA_CRYPT_MIN_ROUNDS 5000
# SHA_CRYPT_MAX_ROUNDS 5000
SHA_CRYPT_MIN_ROUNDS 10000
SHA_CRYPT_MAX_ROUNDS 65536

################# OBSOLETED BY PAM ##############
# #
Expand Down
2 changes: 0 additions & 2 deletions roles/konstruktoid.hardening/templates/etc/login.defs.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
SHA_CRYPT_MAX_ROUNDS 65536
SHA_CRYPT_MIN_ROUNDS 10000
SU_NAME su
SYSLOG_SG_ENAB yes
SYSLOG_SU_ENAB yes
Expand Down

0 comments on commit f50b54e

Please sign in to comment.