mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-06 08:22:31 +01:00
12 lines
287 B
Bash
Executable file
12 lines
287 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
|
|
|
|
exec /usr/bin/supervisord -c /supervisord.conf -n
|