Pesquisar neste blog

segunda-feira, 25 de novembro de 2013

Resetting Elastix admin password

For some reason, I was not able to log via the web interface on some of my Elastix PBXs.  
The only way to get back to it was by resetting the admin password.
Here is a quick way to reset the admin password.
Run the following command from the console:
/usr/bin/sqlite3 /var/www/db/acl.db “UPDATE acl_user SET md5_password = ‘`echo -n newPassword|md5sum|cut -d ‘ ‘ -f 1`’ WHERE name = ‘admin’”
* Just replace newPassword with the password you want it to be.
Then go back to the web interface and log on using your new password.