Root account no longer has a password by default

This commit is contained in:
Logan G 2020-09-04 17:08:19 -06:00
parent 61e706f397
commit 749d4af374
Signed by: logan
GPG key ID: E328528C921E7A7A

View file

@ -18,5 +18,4 @@ if ! id -u kiosk >/dev/null 2>&1; then
adduser --disabled-password --shell /usr/sbin/nologin --gecos "" kiosk adduser --disabled-password --shell /usr/sbin/nologin --gecos "" kiosk
fi fi
echo "${FIRST_USER_NAME}:${FIRST_USER_PASS}" | chpasswd echo "${FIRST_USER_NAME}:${FIRST_USER_PASS}" | chpasswd
echo "root:$(cat /dev/urandom | tr -dc _A-Z-a-z-0-9 | head -c40)" | chpasswd
EOF EOF