gh-107: Disable default password reset

Closes #107
pull/108/head
Vlastimil Holer 7 years ago
parent 26a2887707
commit a8baa826d2
No known key found for this signature in database
GPG Key ID: EB549BADEFD07C53

@ -21,7 +21,7 @@ USERNAME=${USERNAME:-root}
USERNAME_SHELL=${USERNAME_SHELL:-/bin/bash}
USERNAME_SUDO=${USERNAME_SUDO:-${GRANT_SUDO:-YES}}
USERNAME_SUDO=$(echo "${USERNAME_SUDO}" | tr '[:lower:]' '[:upper:]')
USERNAME_PASSWORD_RESET=${USERNAME_PASSWORD_RESET:-YES}
USERNAME_PASSWORD_RESET=${USERNAME_PASSWORD_RESET:-NO}
USERNAME_PASSWORD_RESET=$(echo "${USERNAME_PASSWORD_RESET}" | tr '[:lower:]' '[:upper:]')
if ! getent passwd "${USERNAME}" > /dev/null 2>&1; then

Loading…
Cancel
Save