On Sun, Apr 30, 2023 at 7:33 AM André R. Basel <[email protected]> wrote:
>
> Hi
>
> I am looking at https://guacamole.apache.org/doc/gug/totp-auth.html. I am 
> guessing that this is for a non-docker install.
>
> Given that the docker container resets itself each time one runs it, how do  
> you create and copy the relevant files?

Yeah, we haven't always kept up the Docker-related documentation, so
looks like the TOTP stuff needs to be added. The start.sh script has a
couple of sections that will help you determine what needs to be
added:

https://github.com/apache/guacamole-client/blob/823df2d10b4c1d5c24263ea787ad6b5a3a6c40e5/guacamole-docker/bin/start.sh#L1148-L1151

and

https://github.com/apache/guacamole-client/blob/823df2d10b4c1d5c24263ea787ad6b5a3a6c40e5/guacamole-docker/bin/start.sh#L831-L844

At a minimum you'll need to add:

-e TOTP_ENABLED=true

to your container creation/startup arguments, which will link in the
module, enabling TOTP. Beyond that, if you need to adjust any of the
TOTP parameters (usually not required), you can add the environment
variables to do that.

-Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to