Upgrade Tor Browser to 14.0a6 (refs: tails#20448)
[tails.git] / config / chroot_local-hooks / 01-configure-pam
blob3d87dd822173d6231d92e4412f7737464948a07f
1 #!/bin/sh
3 set -e
5 echo "Configure PAM to use SHA512 to hash passwords"
7 sed -i --regexp-extended 's/^(password\s.*\spam_unix\.so\s+(.+\s+)*)yescrypt(\s.*)?/\1 sha512 \3/' /etc/pam.d/common-password