You can reset the password by updating the "password_hash" and "password_salt" columns of the relevant entry in the "guacamole_user" table to any values that you already know represent a particular password. The schema is documented here:

https://guacamole.apache.org/doc/gug/jdbc-auth.html#users

The syntax to represent the binary values used by those columns will vary by database. For example, here's the default values that equate to "guacadmin" for MySQL/MariaDB:

https://github.com/apache/guacamole-client/blob/6710b317379d2068603d9bc31ee29ebd5e366c45/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/schema/002-create-admin-user.sql#L25-L26

And here's the same but for PostgreSQL:

https://github.com/apache/guacamole-client/blob/6710b317379d2068603d9bc31ee29ebd5e366c45/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/schema/002-create-admin-user.sql#L25-L26

And for SQL Server:

https://github.com/apache/guacamole-client/blob/6710b317379d2068603d9bc31ee29ebd5e366c45/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-sqlserver/schema/002-create-admin-user.sql#L30-L31

- Mike

On 9/19/2023 7:27 AM, Mark Li wrote:
Use an SQL client and log into the database and change it.  If you’re not using the a database, then the passwords are in a file, I think somewhere under /etc/guacamole

*From:*Toby Rogers <[email protected]>
*Sent:* Tuesday, September 19, 2023 10:14 AM
*To:* [email protected]
*Subject:* Accessing Guac Admin Account

Hi there,

I was just wondering if there is a way of resetting the Apache Guacamole Admin password? All the people who had access have left the school and the admin password documented does not work. I was just wondering if there is any advice for this?

Thank you,

Toby


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

Reply via email to