bar top left
bar top right
left curve
right curve
Welcome, Guest

How to change Elastix 2.0.3 admin password?
(1 viewing) (1) Guest
Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: How to change Elastix 2.0.3 admin password?
#67491
How to change Elastix 2.0.3 admin password? 1 Year, 4 Months ago Karma: 2
I have access to root in cli and FreePbx. Elastix GUI cannot accept any more password that I did not change it.

After installing WEBCONF Elastix admin passowrd stop working.

Is there any way to change it from CLI or FreePBX?

THX
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
arrow1
Junior Boarder
Posts: 89
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#67492
Re:How to change Elastix 2.0.3 admin password? 1 Year, 4 Months ago Karma: 2
answer is simple:


sqlite3 /var/www/db/acl.db “UPDATE acl_user SET md5_password = ‘`echo -n password|md5sum|cut -d ‘ ‘ -f 1`’ WHERE name = ‘admin’”

one linear
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
arrow1
Junior Boarder
Posts: 89
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#88536
Re: How to change Elastix 2.0.3 admin password? 6 Months, 3 Weeks ago Karma: 0
HI

Should I put my password after (SET md5_password = ‘`echo -n password|md5sum)

Thanks
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Mike056056
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#91465
Re:How to change Elastix 2.0.3 admin password? 5 Months, 1 Week ago Karma: 0
sqlite3 /var/www/db/acl.db "UPDATE acl_user SET md5_password = '`echo -n replacemewithrealpassw|md5sum|cut -d ' ' -f 1`' WHERE name = 'admin'"

This is the better version.
I had some problems with elastix 2.2 x64 not recognizing the password after fresh install.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
achilles
Junior Boarder
Posts: 99
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#93201
Re:How to change Elastix 2.0.3 admin password? 4 Months, 2 Weeks ago Karma: 0
I'm using elastix-2.2.0-14, and for reset the admin password (freePBX) i have used this:
logged on the server as root, enter in Mysql shell:
$ mysql -p
put the password configured on the installation.
At the prompt, execute:
$ mysql> use asterisk;
testing the view capacity:
$ mysql> select * from ampusers;
the expected out is like this:

+----------+------------------------------------------+---------------+----------------+----------+----------+
| username | password_sha1 | extension_low | extension_high | deptname | sections |
+----------+------------------------------------------+---------------+----------------+----------+----------+
| admin | d033e22ae348aeb5660fc2140aec35850c4da997 | | | | * |
+----------+------------------------------------------+---------------+----------------+----------+----------+
1 row in set (0.00 sec)

### ### ###

if this appears, make the change:
$ mysql> update ampusers set password_sha1=sha1('theYourNewPassword') where username="admin";

if nothing was wrong, this is the correct out:
Query OK, 0 rows affected (0.00 sec)
Rows matched: 1 Changed: 0 Warnings: 0


Best regards;
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
werneck.costa
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Gender: Male werneck.costa@gmail.com Location: Brazil Birthday: 01/24
Elastix - Because freedom should be easy and simple.
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 1
Moderators: Bob, jgutierrez
Protected by Spam Fighter