doc:appunti:linux:sa:matrix
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
doc:appunti:linux:sa:matrix [2021/01/21 16:40] – [Migrazione da SQLite a Postgres] niccolo | doc:appunti:linux:sa:matrix [2022/04/18 15:25] – [Creazione di un account] niccolo | ||
---|---|---|---|
Line 178: | Line 178: | ||
Success! | Success! | ||
</ | </ | ||
+ | |||
+ | ==== Reset password ==== | ||
+ | |||
+ | Generare un nuovo hash con il tool **hash_password** (incluso nel pacchetto Debian **matrix-synapse**): | ||
+ | |||
+ | < | ||
+ | hash_password -p MySecret | ||
+ | $2b$12$6Q.zARcyW0nnRzmmo8d1H.NblSGbj309lBevr/ | ||
+ | </ | ||
+ | |||
+ | Collegarsi al database di backend, individuare l' | ||
+ | |||
+ | <code sql> | ||
+ | SELECT name FROM users; | ||
+ | SET password_hash=' | ||
+ | WHERE name=' | ||
+ | </ | ||
+ | |||
==== Configurazione del DNS ==== | ==== Configurazione del DNS ==== |
doc/appunti/linux/sa/matrix.txt · Last modified: 2024/04/15 16:46 by niccolo