elastix
Information
Community
Developers
What We Sell
Forums
Addons
Download
Information
Community
Social Networks
For Developers
Manufacturer Support
Appliances
Training & Certification

How restore the admin password from elastix 1.5

Foro general de ayuda

How restore the admin password from elastix 1.5

Postby camf3110 » Wed Jun 10, 2009 3:46 pm

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?
camf3110
Fresh Boarder
Fresh Boarder
 
Posts: 7
Joined: Thu Mar 12, 2009 1:18 pm
Karma: 0

Re:How restore the admin password from elastix 1.5

Postby dicko » Wed Jun 10, 2009 3:49 pm

Try typing

lost the password

in the search box, you never know your luck :)
There are other solutions!!
dicko
Platinum Boarder
Platinum Boarder
 
Posts: 4099
Joined: Fri Oct 24, 2008 12:39 pm
Location: Not available
Karma: 156

Re:How restore the admin password from elastix 1.5

Postby camf3110 » Fri Jun 12, 2009 10:36 am

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'
camf3110
Fresh Boarder
Fresh Boarder
 
Posts: 7
Joined: Thu Mar 12, 2009 1:18 pm
Karma: 0

Re:How restore the admin password from elastix 1.5

Postby dicko » Fri Jun 12, 2009 11:16 am

Thank you, I will add your four "right ways" to mine the next time I forget my password, and use the one that works. :)
There are other solutions!!
dicko
Platinum Boarder
Platinum Boarder
 
Posts: 4099
Joined: Fri Oct 24, 2008 12:39 pm
Location: Not available
Karma: 156

Re:How restore the admin password from elastix 1.5

Postby rafael » Fri Jun 12, 2009 3:22 pm

Thanks camf3110,

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

Regards,

Rafael
User avatar
rafael
Gold Boarder
Gold Boarder
 
Posts: 1456
Joined: Mon May 14, 2007 12:33 pm
Location: Ecuador
Karma: 41

Re:How restore the admin password from elastix 1.5

Postby lukaas » Mon Aug 31, 2009 9:56 am

[quote="dicko"]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
lukaas
Fresh Boarder
Fresh Boarder
 
Posts: 2
Joined: Mon Oct 20, 2008 6:23 am
Karma: -1

Re:How restore the admin password from elastix 1.5

Postby dicko » Mon Aug 31, 2009 11:36 am

[quote="lukaas"][quote="dicko"]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! :)
There are other solutions!!
dicko
Platinum Boarder
Platinum Boarder
 
Posts: 4099
Joined: Fri Oct 24, 2008 12:39 pm
Location: Not available
Karma: 156
Top

Re:How restore the admin password from elastix 1.5

Postby asepulveda » Fri Jan 22, 2010 5:04 pm

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??
Image
Augusto Sepúlveda
Nextor Telecom - Voip en México
http://www.nextortelecom.com
http://twitter.com/asepulvedamx
User avatar
asepulveda
Senior Boarder
Senior Boarder
 
Posts: 400
Joined: Mon Jun 23, 2008 11:05 am
Location: Mexico D.F.
Karma: 9

Re:How restore the admin password from elastix 1.5

Postby dicko » Fri Jan 22, 2010 11:48 pm

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'"
There are other solutions!!
dicko
Platinum Boarder
Platinum Boarder
 
Posts: 4099
Joined: Fri Oct 24, 2008 12:39 pm
Location: Not available
Karma: 156

Re: Re:How restore the admin password from elastix 1.5

Postby fsuira » Wed Aug 24, 2011 11:33 am

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?
User avatar
fsuira
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Wed Aug 24, 2011 10:34 am
Karma: 0

Re: Re:How restore the admin password from elastix 1.5

Postby Ruiz » Thu Dec 29, 2011 2:57 pm

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
Ruiz
Fresh Boarder
Fresh Boarder
 
Posts: 8
Joined: Tue May 03, 2011 3:42 am
Karma: 0


Return to Ayuda

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron