Reset Elastix Web Admin Password
Reset Elastix Web Admin Password
For this tutorial i will give you a basic shell script that resets the password for you. To Be fair, the original reference was here: http://www.networkinghowtos.com/howto/reset-elastix-web-interface-admin-password/
I converted the basic code into a shell script that is easier to remember/more portable. Here’s the code:
#!/bin/sh
# Customized By Andrew Zwieg 3/2/2014
echo ===================================
echo ENTER NEW PASSWORD AND HIT ENTER
read PASSWORD
echo ===================================
# reset the password
sqlite3 /var/www/db/acl.db “UPDATE acl_user SET md5_password=’`echo -n $PASSWORD|md5sum|cut -d’ ‘ -f1`’ WHERE name=’admin’”
echo COMPLETE!!!
echo login as ‘admin’ at https://$HOSTNAME
That’s it!
Hosted Linux Servers at www.zwiegnet.com/go
Related guides: Send Email Script CentOS | Choosing a Smart Root Password
