# Guacamole

## Выключить TOTP для определённого пользователя

Внутри контейнера с postgres от guaca

```
su postgres
psql
\c guacamole_db
select * from guacamole_user_attribute;
update guacamole_user_attribute set attribute_value='totpdisabled' where user_id=<userid> and attribute_name='guac-totp-key-secret';
```

Решение взято [тут](https://issues.apache.org/jira/browse/GUACAMOLE-1164)

##### [Шпаргалка postgre](https://quaded.com/postgresql-%D1%88%D0%BF%D0%B0%D1%80%D0%B3%D0%B0%D0%BB%D0%BA%D0%B0-use-database-show-tables-show-users/)