Thursday, 27 March 2014

Elastix - Asterisk Reset Admin Password

So if like me you've ended up taking over random Elastix installs with no proper documentation then you may discover that you have no idea what the admin passwords are for web interface. If you don't have the root password either you're kinda screwed but below is a nifty little command to get you back onto the frontend web interface of elastix.

/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.

No comments:

Post a Comment