LOST PASSWORD, HOW CAN I RECOVER?!!?

Joined
May 3, 2009
Messages
3
Points
0
Good morning!!

I lost my password of login in my PC for the elastix, i changed to another of palosanto, how can i recover?!
 
Joined
May 12, 2010
Messages
1,663
Points
0
The users and passwords are stored in /var/www/db/acl.db
You can modify it manually or maybe you can try with a sqlite manager as Sqlite Database Browser.
You will have to change the md5 hash of your admin password stored in that database for a md5 hash of a known password.
You can get it here:
http://md5-hash-online.waraxe.us/
 
Joined
Oct 24, 2008
Messages
4,099
Points
0
Lazy people could try from bash (as root) this "one-liner", which does exactly what ramoncio suggests:-

/usr/bin/sqlite3 /var/www/db/acl.db "UPDATE acl_user SET md5_password = '`echo -n imanidiotandforgotmypassword|md5sum|cut -d ' ' -f 1`' WHERE name = 'admin'"


(change the imanidiotandforgotmypassword to suit. :) )
and to quote ramoncio "Be careful <anyone> , remember this damn fireboard cuts some code lines in two.", It's a "one" liner.
 

Members online

No members online now.

Forum statistics

Threads
30,992
Messages
131,106
Members
17,716
Latest member
Orbit114
Top