Files
interview/entrypoint.sh
2025-05-16 22:25:12 +03:00

11 lines
157 B
Bash

set -e
echo "ubuntu:${SECRET}" | chpasswd
usermod -aG sudo ubuntu
mkdir /run/sshd
/sbin/sshd -o "PasswordAuthentication=yes"
exec gosu ubuntu:ubuntu $@