Code Monkey home page Code Monkey logo

Comments (9)

jwetzell avatar jwetzell commented on July 28, 2024

Can you give some context to how you are building the image and how you are running it (potentially example commands you are running)? I just built and ran the master branch and could successfully log in with the username and password guacadmin.

from docker-guacamole.

Samarthasnani97 avatar Samarthasnani97 commented on July 28, 2024

Actually rather than pulling the image I am trying to use the raw docker file for which you have provided the source code, I am simply making a new dockerfile and also copying the whole root folder in the same directory as the dockerfile and building the dockerfile, after running the file the default user name and password it is showing me as incorrect.

from docker-guacamole.

jwetzell avatar jwetzell commented on July 28, 2024

Sorry I don't see how can help further unless you provide steps to reproduce this problem. Like I said I tested building and running the main branch after you opened the issue and found no problem with the image. To test this I cloned this repository and inside ran docker build against the Dockerfile.amd64 file and then ran the image that was built and could login just fine.

If you want to build this repository there is no need to create your own Dockerfile or copy files around. Just clone the repository and run the docker build against the right Dockerfile with the -f flag.

from docker-guacamole.

Samarthasnani97 avatar Samarthasnani97 commented on July 28, 2024

I am sorry for not describing my question clearly.. I am able to build the docker image..I want to actually change the default username and password that is "guacadmin" during the start-up. I know that I can change it after logging in but I want to change it during the startup so that the user can directly put the user defined user name and password in place of default username and password. Please provide me some solution.

Thankyou in advance.

from docker-guacamole.

jwetzell avatar jwetzell commented on July 28, 2024

You would need to modify the contents of /app/guacamole/schema/002-create-admin-user.sql. That schema folder is part of the postgresql extension (relevant part of the Dockerfile) which sets up the database on first boot and setting up the default admin account is part of that.

from docker-guacamole.

Samarthasnani97 avatar Samarthasnani97 commented on July 28, 2024

Perfect, Thankyou so much, Can you also help me on to how to generate the salt and hash password which similar to which apache guacamole is using, is there any tool to generate the password.

from docker-guacamole.

jwetzell avatar jwetzell commented on July 28, 2024

I don't know what hashing algorithm they are using or how they are combining the salt. Should be able to find that with some googling. A quick and dirty approach would be to just set a password via the UI and then pull the password_hash and password_salt columns out of that table.

from docker-guacamole.

Samarthasnani97 avatar Samarthasnani97 commented on July 28, 2024

Perfect it working now, I was able to change the default user name and password, Thankyou so much for the solution.
Now, If I want to do some changes on the client UI like removing some extra columns in settings, where should I look for ? Can you please suggest me.

from docker-guacamole.

jwetzell avatar jwetzell commented on July 28, 2024

I don't know, you can go look through the Apache's code here to figure out how to modify and build it. I'll be closing this issue.

from docker-guacamole.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.