Files
interview/entrypoint.sh

11 lines
157 B
Bash
Raw Normal View History

2025-05-16 22:11:10 +03:00
set -e
echo "ubuntu:${SECRET}" | chpasswd
2025-05-16 22:25:12 +03:00
usermod -aG sudo ubuntu
2025-05-16 22:11:10 +03:00
mkdir /run/sshd
/sbin/sshd -o "PasswordAuthentication=yes"
exec gosu ubuntu:ubuntu $@