kasmtech / workspaces-images

Other
730 stars 241 forks source link

What is the default password for user "kasm-user"? #100

Open kevinmnm opened 7 months ago

kevinmnm commented 7 months ago

I stood up Docker container via running docker run --rm -it --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/core-ubuntu-focal:1.14.0 and then I ran docker exec command to directly SSH into the container. Its default user is kasm-user and I can't run sudo command because I don't know its password.

image

Booyaabes commented 6 months ago

You can specify the user with docker exec command:

$ docker exec -it -u root CONTAINER_NAME bash
default:~$ id
uid=0(root) gid=0(root) groups=0(root)

You will be able to set kasm-user password then if you want ;)