mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-06 16:32:47 +01:00
16 lines
315 B
Bash
Executable file
16 lines
315 B
Bash
Executable file
#!/bin/bash
|
|
|
|
mkdir /var/run/sshd
|
|
|
|
# create an ubuntu user
|
|
PASS=`pwgen -c -n -1 10`
|
|
PASS=ubuntu
|
|
echo "User: ubuntu Pass: $PASS"
|
|
useradd --create-home --shell /bin/bash --user-group --groups adm,sudo ubuntu
|
|
echo "ubuntu:$PASS" | chpasswd
|
|
|
|
/usr/bin/supervisord -c /supervisord.conf
|
|
|
|
while [ 1 ]; do
|
|
/bin/bash
|
|
done
|