„scripts/start.sh“ ändern
This commit is contained in:
@@ -15,8 +15,11 @@ else
|
|||||||
echo "---No optional script found, continuing---"
|
echo "---No optional script found, continuing---"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "${USER}:${USER_PWD}" | chpasswd
|
||||||
|
unset USER_PWD
|
||||||
|
|
||||||
echo "root:${ROOT_PWD}" | chpasswd
|
echo "root:${ROOT_PWD}" | chpasswd
|
||||||
export ROOT_PWD="secret"
|
unset ROOT_PWD
|
||||||
|
|
||||||
if [ ! -f ${DATA_DIR}/sshd_config ]; then
|
if [ ! -f ${DATA_DIR}/sshd_config ]; then
|
||||||
cp /etc/ssh/sshd_config ${DATA_DIR}/sshd_config
|
cp /etc/ssh/sshd_config ${DATA_DIR}/sshd_config
|
||||||
|
Reference in New Issue
Block a user