Added check for /usr/bin/mkpasswd.