{"id":5311,"date":"2019-05-12T11:01:37","date_gmt":"2019-05-12T09:01:37","guid":{"rendered":"https:\/\/www.bdjl.de\/localhost\/?p=5311"},"modified":"2019-05-12T11:01:37","modified_gmt":"2019-05-12T09:01:37","slug":"matrix-synapse-password-reset","status":"publish","type":"post","link":"https:\/\/www.bdjl.de\/localhost\/?p=5311","title":{"rendered":"Matrix \/ Synapse password reset"},"content":{"rendered":"<p>Hat ein Benutzer auf dem eigenen Serverchen sein Passwort verbummelt und man sucht nach einer CLI L\u00f6sung f\u00fcr den Reset wird leider eine veraltete Anleitung f\u00fcr die Bearbeitung der Datenbank (sqlite) ziemlich weit oben angezeigt. Richtig ist der hier<\/p>\n<p><a href=\"https:\/\/github.com\/matrix-org\/synapse\/blob\/master\/README.rst#password-reset\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/matrix-org\/synapse\/blob\/master\/README.rst#password-reset<\/a><\/p>\n<p>beschriebene Weg.<\/p>\n<p>Zum heutigen Stand funktioniert demnach:<\/p>\n<pre class=\"lang:default decode:true \">root@homeserver: hash_password\r\nroot@homeserver: sudo -u matrix-synapse sqlite3 \/var\/lib\/matrix-synapse\/homeserver.db\r\n\r\nsqlite&gt; UPDATE users SET password_hash='$32b$32$hiErstEhteInPasswordHashdrinderLangist\/vf' WHERE name='@user:ident.server.domain';\r\nsqlite&gt; .quit<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Hat ein Benutzer auf dem eigenen Serverchen sein Passwort verbummelt und man sucht nach einer CLI L\u00f6sung f\u00fcr den Reset wird leider eine veraltete Anleitung f\u00fcr die Bearbeitung der Datenbank (sqlite) ziemlich weit oben angezeigt. Richtig ist der hier https:\/\/github.com\/matrix-org\/synapse\/blob\/master\/README.rst#password-reset beschriebene Weg. Zum heutigen Stand funktioniert demnach: root@homeserver: hash_password root@homeserver: sudo -u matrix-synapse sqlite3 \/var\/lib\/matrix-synapse\/homeserver.db [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,12],"tags":[598],"class_list":["post-5311","post","type-post","status-publish","format-standard","hentry","category-linux","category-netzfunde","tag-matrix"],"_links":{"self":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/5311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5311"}],"version-history":[{"count":1,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/5311\/revisions"}],"predecessor-version":[{"id":5312,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/5311\/revisions\/5312"}],"wp:attachment":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}