Commit d4b5f808 authored by segfault's avatar segfault

Add a script which checks if PAM uses SHA512 to hash passwords (refs: #17135)

parent d15f81d9
#!/bin/sh
set -e
echo "Checking if PAM uses SHA512 to hash passwords"
if ! grep -q -E "^password\s.*\ssha512" /etc/pam.d/common-password; then
echo "PAM does not seem to use SHA512 anymore. Please adjust the
Tails Greeter code which hashes the admin password."
exit 1
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment