How can I reset unembedded freepbx password?

lakat

Joined
Dec 10, 2007
Messages
2
Likes
0
Points
0
#1
Hi,
I lost my unembedded freepbx admin password, how can I reset it?
Tank your help!
Tamas
 

Patrick_elx

Joined
Dec 14, 2008
Messages
1,120
Likes
0
Points
0
#2
I'm not sure if that's the correct one, but with phpmyadmin if you look in asterisk database, table ampuser you will have the password.

As I said I'm not sure of it as I'm using the same password for elastix and freepbx (yes, shame on me, I know). But I think the elastix password is in the sqllite table instead.
 

rafael

Joined
May 14, 2007
Messages
1,454
Likes
1
Points
0
#3

rafael

Joined
May 14, 2007
Messages
1,454
Likes
1
Points
0
#4
Patrick_elx, FreePBX uses mysql and Elastix uses sqlite. So the password we have to reset here is in mysql and I should be able to do it with phpmyadmin.

regards,

rafael
 

lakat

Joined
Dec 10, 2007
Messages
2
Likes
0
Points
0
#5
Thank your help!
It solved my problem!
Best Regards!
Tamas
 

Patrick_elx

Joined
Dec 14, 2008
Messages
1,120
Likes
0
Points
0
#6
rafael said:
Patrick_elx, FreePBX uses mysql
freepbx is one of the only application that is still storing password in plaintext in a mysql database :-(

I had a problem with avantfax the other day that did not accept my password (their minimum password complexity is a pain in the a...) and I had to play with an encrypted password in the database instead.
 

albatroz

Joined
Jan 4, 2008
Messages
17
Likes
0
Points
0
#7
lakat said:
Hi,
I lost my unembedded freepbx admin password, how can I reset it?
Tank your help!
Tamas
I installed Elastix and never set up a password for enembedded freepbx.
What is the default one?
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#8

kola

Joined
Jul 10, 2010
Messages
2
Likes
0
Points
0
#9
Password recovery required

I have elastix 1.6 running and I cant remember the password I set for the unembeded free pbx. Now I cant get in there.

I have all other passwords though.

I will appreciate all suggestions that will enable me reset this password or break in somehow.

Thanks :S
 

kola

Joined
Jul 10, 2010
Messages
2
Likes
0
Points
0
#10
Re: Password recovery required

Oh thanks, I see now that the suggestions already exist. I will go with these.
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#11
Re: Password recovery required

Code:
 sed -i 's/AUTHTYPE=database/AUTHTYPE=none/' /etc/amportal.conf;amportal restart;echo "go change your password on the web page right now";read -p "have you done that yet?";sed -i 's/AUTHTYPE=none/AUTHTYPE=database/' /etc/amportal.conf
a one liner that simplifies but also self documents the process
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,981
Messages
131,060
Members
17,704
Latest member
Pahntom
Top