Root account no longer has a password by default
This commit is contained in:
parent
61e706f397
commit
749d4af374
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue