How to restore the ADMIN user?

Discussion in 'General' started by cmosquera, Nov 10, 2009.

  1. cmosquera

    Joined:
    Apr 2, 2009
    Messages:
    14
    Likes Received:
    0
    In the web interface i loose my user admin to modify my Elastix from Freepbx. Now whe i try to enter to the web interface it require login and password, i try with my old password and no play. What can i do to restore my admin user?

    Thanks.
     
  2. Bob

    Bob

    Joined:
    Nov 4, 2007
    Messages:
    2,400
    Likes Received:
    1
    As Elastix will not let you delete the Admin user (comes up with a message a does not complete it), then lets assume that somehow the password has changed....

    at the linux prompt

    sqlite3 /var/www/db/acl.db "update acl_user set md5_password='7a5210c173ea40c03205a5de7dcd4cb0' where id=1"

    Note: the above should be all on the one line

    This should set the password for the admin user back to palosanto

    Please be aware I haven't needed this for 12 months now and have not done it recently so use at your own peril....so it is completely up to you if you proceed to try it out.

    If you do use it, let us know how you go...

    Regards

    Bob
     
  3. cmosquera

    Joined:
    Apr 2, 2009
    Messages:
    14
    Likes Received:
    0
    Thanks man, but i'm talking about user ADMIN in the FreePBX. The user admin from Elastix is working fine. Thanks by your help!
     
  4. dicko

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

Share This Page