commit | 5f6a18fbb6ac37ad903ba1a06d8625c907b3dd15 | [log] [tgz] |
---|---|---|
author | Anil Altinay <aaltinay@google.com> | Fri Aug 06 17:43:54 2021 +0000 |
committer | Anil Altinay <aaltinay@google.com> | Tue Aug 10 17:21:09 2021 +0000 |
tree | b52241ea1357564fd459b4a9aa7994e79d346716 | |
parent | 1ed085339bd1b122e8c51a4820dd3cd8c758a67b [diff] |
alphabet-compliance: Change password hashing algorithm to sha512 BUG=b/196055702 TEST=`cat /etc/pam.d/system-auth | grep sha512` && manual testing RELEASE_NOTE=None Change-Id: I313fd14a1433f6ba1062df8aafba32285058b663
diff --git a/alphabet-compliance/scripts/5340-set-password-hashing-algorithm.sh b/alphabet-compliance/scripts/5340-set-password-hashing-algorithm.sh index e7da5fb..4ac3a37 100644 --- a/alphabet-compliance/scripts/5340-set-password-hashing-algorithm.sh +++ b/alphabet-compliance/scripts/5340-set-password-hashing-algorithm.sh
@@ -14,4 +14,4 @@ # limitations under the License. ## Section: 5.3.4 Ensure password hashing algorithm is SHA-512 (Not Scored) ## -sed -i '/password/s/md5/sha2/' /etc/pam.d/system-auth +sed -i '/password/s/md5/sha512/' /etc/pam.d/system-auth