kasmtech / workspaces-core-images

https://www.kasmweb.com
Other
328 stars 117 forks source link

Cannot find environment variable to change basic_auth username #9

Open jerrywoo96 opened 2 years ago

jerrywoo96 commented 2 years ago

Hi,

I'm spinning up the virtual desktops as individual containers, i see the environment variable to change the password, but not the variable to change the basic auth username login. What is the environment variable to change this? There was no documentation or docker-compose file that mentions this. I have only found the environment variable to change the basic auth password.

Thanks.

jerrywoo96 commented 2 years ago

I've also read the issues tab, there was mention of this issue, but did not specify any solution.

shkpk commented 2 years ago

kasm_user is hard coded hence there is no env variable to change this. However you can search for kasm_user string in vnc_startup.sh file and change it to variable and then pass it while creating container.

mmcclaskey commented 2 years ago

That is correct, when using the full platform, the session username and password of KasmVNC are not relevant. You could use the KasmVNC API to add a new user, assign ownership, and delete the kasm_user user. We are working to make the images more usable directly, without using our full platform and this is likely one thing we will address (custom username).