{"id":1615,"date":"2013-12-08T15:15:02","date_gmt":"2013-12-08T19:15:02","guid":{"rendered":"http:\/\/www.eyoungwon.com\/journal\/?p=1615"},"modified":"2024-07-15T22:29:48","modified_gmt":"2024-07-16T02:29:48","slug":"how-to-reset-elastix-pbx-web-admin-password","status":"publish","type":"post","link":"https:\/\/eyoungwon.com\/journal\/how-to-reset-elastix-pbx-web-admin-password\/","title":{"rendered":"How to Reset Elastix PBX Web Admin Password"},"content":{"rendered":"<h2>How to Reset Your Elastix PBX Web Admin Password?<\/h2>\n<p>I was working on a Clients PBX as they forgot the Admin password, so in looking for a solution I came across this little fix that you can use to change the password in the database. \u00a0You normally login via the\u00a0Elastix web interface which looks something like this below.<\/p>\n<p><a href=\"http:\/\/www.eyoungwon.com\/journal\/wp-content\/uploads\/2013\/12\/Elastix-Web-login-window.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignleft size-full wp-image-1616\" alt=\"Elastix Web Login page\" src=\"http:\/\/www.eyoungwon.com\/journal\/wp-content\/uploads\/2013\/12\/Elastix-Web-login-window.jpg\" width=\"772\" height=\"538\" srcset=\"https:\/\/eyoungwon.com\/journal\/wp-content\/uploads\/2013\/12\/Elastix-Web-login-window.jpg 772w, https:\/\/eyoungwon.com\/journal\/wp-content\/uploads\/2013\/12\/Elastix-Web-login-window-300x209.jpg 300w\" sizes=\"(max-width: 772px) 100vw, 772px\" \/><\/a><\/p>\n<p>Once you can&#8217;t access you will have to open up a SSH connection to the server and reset the password in the database. \u00a0Basic steps below<\/p>\n<p>1. Login using root privileges and run either of these two commands.<\/p>\n<p><strong>Replace\u00a0<i>newpassword<\/i>\u00a0with the password you want to use for the admin login.<\/strong><\/p>\n<pre>sqlite3 \/var\/www\/db\/acl.db \"UPDATE acl_user SET md5_password='`echo -n newpassword|md5sum|cut -d' ' -f1`' WHERE name='admin'\"<\/pre>\n<p><strong>or to reset the password to \u201cpassword\u201d you can use the following command<\/strong><\/p>\n<pre>sqlite3 \/var\/www\/db\/acl.db \"UPDATE acl_user SET md5_password='5f4dcc3b5aa765d61d8327deb882cf99' WHERE name='admin'\"<\/pre>\n<p>&nbsp;<\/p>\n<p>Refer to Elastix websites For more information on the Elastix Unified Communications server, please visit the following links:<\/p>\n<p><a title=\"Elastix PBX Website\" href=\"http:\/\/www.elastix.org\/\" target=\"_blank\" rel=\"noopener\">http:\/\/www.elastix.org\/<\/a><br \/>\n<a title=\"Elastix Wiki\" href=\"http:\/\/en.wikipedia.org\/wiki\/Elastix\" target=\"_blank\" rel=\"noopener\">http:\/\/en.wikipedia.org\/wiki\/Elastix<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Reset Elastix PBX Web Admin Password?<\/p>\n","protected":false},"author":62,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,664,44,282],"tags":[763,760,761,762],"class_list":["post-1615","post","type-post","status-publish","format-standard","hentry","category-networking","category-pbx","category-servers","category-technology","tag-elastix","tag-elastix-pbx","tag-reset-elastix-pbx-password","tag-reset-pbx-password"],"_links":{"self":[{"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/posts\/1615","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/users\/62"}],"replies":[{"embeddable":true,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/comments?post=1615"}],"version-history":[{"count":2,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/posts\/1615\/revisions"}],"predecessor-version":[{"id":1704,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/posts\/1615\/revisions\/1704"}],"wp:attachment":[{"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/media?parent=1615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/categories?post=1615"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/tags?post=1615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}