How restore the admin password from elastix 1.5

camf3110

Joined
Mar 12, 2009
Messages
7
Likes
0
Points
0
#1
Hi.
The fact is that I lost the password for user admin elastix and I can not enter the GUI.
What is the way back?
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#2
Try typing

lost the password

in the search box, you never know your luck :)
 

camf3110

Joined
Mar 12, 2009
Messages
7
Likes
0
Points
0
#3
Hi.
I have read one of your previous post which tells you how to update the table.
But the right way to enter the sentence is:

/var/www/db/acl.db "UPDATE acl_user SET md5_password = 'MY-NEW-MD5-PASS`echo -n imanidiotandforgotmypassword|md5sum|cut -d ' ' -f 1`' WHERE name = 'admin'"

OR

/var/www/db/acl.db "UPDATE acl_user SET md5_password = 'MY-NEW-MD5-PASS`echo -n suit|md5sum|cut -d ' ' -f 1`' WHERE name = 'admin'"

OR

UPDATE acl_user SET md5_password = 'MY-NEW-MD5-PASS`echo -n imanidiotandforgotmypassword|md5sum|cut -d ' ' -f 1`' WHERE name = 'admin'

OR

UPDATE acl_user SET md5_password = 'MY-NEW-MD5-PASS`echo -n suit|md5sum|cut -d ' ' -f 1`' WHERE name = 'admin'
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#4
Thank you, I will add your four "right ways" to mine the next time I forget my password, and use the one that works. :)
 

rafael

Joined
May 14, 2007
Messages
1,454
Likes
1
Points
0
#5
Thanks camf3110,

This is a recurrent question, so I just stick it so that more people can use the 4 solutions :D

Regards,

Rafael
 

lukaas

Joined
Oct 20, 2008
Messages
2
Likes
0
Points
0
#6
dicko said:
Thank you, I will add your four "right ways" to mine the next time I forget my password, and use the one that works. :)
I prefer being an idiot instead than a stupid arrogant, thanks anyway :p
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#7
lukaas said:
dicko said:
Thank you, I will add your four "right ways" to mine the next time I forget my password, and use the one that works. :)
I prefer being an idiot instead than a stupid arrogant, thanks anyway :p
Welcome to our forum Lukaas:

You're more than welcome. I agree with you.
[edit]
:( he "smote" me. Oh well, thats karma! :)
 

asepulveda

Joined
Jun 23, 2008
Messages
400
Likes
0
Points
0
#8
Yes im an idiot , i forgot a password jajaja but this solution dosen work for elastix 1.6, ideas to change pass in elastix 1.6??
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#9
The original thread was:

http://www.elastix.org/component/option ... ,en/#22779

My original one-liner from that thread should work just fine, as will ramoncio's method.

I don't believe you will find the "other four" to be functional, due to the inexplicable string 'MY-NEW-MD5-PASS' in them.

thusly, try:

/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'"
 

fsuira

Joined
Aug 24, 2011
Messages
1
Likes
0
Points
0
#10
Re: Re:How restore the admin password from elastix 1.5

Hi everybody... I have a problem. I have Elastix install in my server, but I was not the one who install it.

The person who did it quit and the phones are not working, so I need to access Elastix but this guy let me a wrong password, so nobody can access it.

Can anyone tell me how to reset the password without reinstalling everything?
 

Ruiz

Joined
May 3, 2011
Messages
8
Likes
0
Points
0
#11
Re: Re:How restore the admin password from elastix 1.5

Hola a todos.

vim /var/www/html/index.php

$developerMode=true;

Con eso ingresan via web sin clave, de ahi pueden modificar su clave y luego lo regresan a

$developerMode=false;



Saludos
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,563
Latest member
dineshr
Top