some logging
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
if [ "${ROOT_PASSWORD}" == "root" ] || [ -z "${ROOT_PASSWORD}" ]; then
|
||||
export ROOT_PASSWORD="$(hexdump -e '"%02x"' -n 16 /dev/urandom)"
|
||||
echo "Successfully generated a random password for root"
|
||||
fi
|
||||
|
||||
echo "root:${ROOT_PASSWORD}" | chpasswd
|
||||
|
||||
Reference in New Issue
Block a user