LOST PASSWORD, HOW CAN I RECOVER?!!?

lerner

Joined
May 3, 2009
Messages
3
Likes
0
Points
0
#1
Good morning!!

I lost my password of login in my PC for the elastix, i changed to another of palosanto, how can i recover?!
 

ramoncio

Joined
May 12, 2010
Messages
1,663
Likes
0
Points
0
#2
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/
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#3
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.
 

ramoncio

Joined
May 12, 2010
Messages
1,663
Likes
0
Points
0
#4
Nice!
One-line genius, as always.
 

lerner

Joined
May 3, 2009
Messages
3
Likes
0
Points
0
#5
It worked!
Thank you very much and good luck!
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,966
Messages
131,024
Members
17,675
Latest member
Belgium-boy
Top