Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to inject user root to kali image run standalone? #12

Open
mjakubowskilkr opened this issue Feb 16, 2022 · 5 comments
Open

how to inject user root to kali image run standalone? #12

mjakubowskilkr opened this issue Feb 16, 2022 · 5 comments

Comments

@mjakubowskilkr
Copy link

I need to add user root to Kali container. Can I add any parameter to command sudo docker run --rm -it --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/<image>:<tag> ?

@j-travis
Copy link
Contributor

Yes, you are free to add any docker run flag you want , including --user root
https://docs.docker.com/engine/reference/commandline/run/

@j-travis j-travis transferred this issue from kasmtech/KasmVNC Feb 16, 2022
@mjakubowskilkr
Copy link
Author

OK, thank you. Another question - how to secure connection, can I change username and password for authentication? Default is kasm_user / password.

@mjakubowskilkr
Copy link
Author

Can anybody answer me?

@mmcclaskey
Copy link

For the greatest level of security, use the full Kasm Workspaces platform, which is does all the following and more

  • Central authentication and user management using LDAP, SAML, or Kasm's built in authentication
  • Group based security policies
  • Centralized logging
  • Optional two-factor authentication

For using a kasm docker image directly, without Workspaces, you can change the password as documented in Docker Hub and in GitHub in the example docker run command. The username is hard coded I believe, if you run the container directly without using the Workspaces platform.

@mjakubowskilkr
Copy link
Author

Ok, thanx , it's satisfied answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants