How restore the admin password from elastix 1.5

Discussion in 'Elastix 2.x' started by camf3110, Jun 10, 2009.

  1. camf3110

    Joined:
    Mar 12, 2009
    Messages:
    7
    Likes Received:
    0
    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?
     
  2. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    Try typing

    lost the password

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

    Joined:
    Mar 12, 2009
    Messages:
    7
    Likes Received:
    0
    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'
     
  4. dicko

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

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    Thanks camf3110,

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

    Regards,

    Rafael
     
  6. lukaas

    Joined:
    Oct 20, 2008
    Messages:
    2
    Likes Received:
    0
    I prefer being an idiot instead than a stupid arrogant, thanks anyway :p
     
  7. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    Welcome to our forum Lukaas:

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

    Joined:
    Jun 23, 2008
    Messages:
    400
    Likes Received:
    0
    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??
     
  9. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    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'"
     
  10. fsuira

    Joined:
    Aug 24, 2011
    Messages:
    1
    Likes Received:
    0
    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?
     
  11. Ruiz

    Joined:
    May 3, 2011
    Messages:
    8
    Likes Received:
    0
    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
     

Share This Page