From c6857cc6658a66af314b52505b14d5f827fcd32c Mon Sep 17 00:00:00 2001 From: ich777 Date: Sun, 26 Dec 2021 14:26:52 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9Escripts/start.sh=E2=80=9C=20=C3=A4nder?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/start.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/start.sh b/scripts/start.sh index e6ae269..277cb82 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -15,8 +15,11 @@ else echo "---No optional script found, continuing---" fi +echo "${USER}:${USER_PWD}" | chpasswd +unset USER_PWD + echo "root:${ROOT_PWD}" | chpasswd -export ROOT_PWD="secret" +unset ROOT_PWD if [ ! -f ${DATA_DIR}/sshd_config ]; then cp /etc/ssh/sshd_config ${DATA_DIR}/sshd_config