#!/bin/sh

set -e

echo "Disabling PAM secure password check"

sed -i 's/pam_unix.so obscure/pam_unix.so minlen=1/' /etc/pam.d/common-password
