Change Default FreePBX password AsteriskNOW 1.7

After you install AsteriskNOW FreePBX the default password is set to fpbx. This can be a security risk and you surely you want to change it. You have to change it via mysql. I would also change the root mysql password as well.

Login to your server via SSH.

Type mysql

Example:

[root@www ~]# mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.0.77 Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> SET PASSWORD FOR freepbx@localhost=PASSWORD('NEWPASSWORD');
Query OK, 0 rows affected (0.00 sec)

mysql> SET PASSWORD FOR root@localhost=PASSWORD('NEWPASSWORD');
Query OK, 0 rows affected (0.00 sec)

mysql> quit

This will change the freepbx login and the root password to mysql. It will also change the freepbx password for FreePBX.

You next have to change the password in  the amportal.conf

I use vi but lots like nano use your favorite text editor.

vi /etc/amportal.conf

find

# AMPDBPASS: the password for AMPDBUSER
AMPDBPASS=fpbx

change it to your new password what ever you made it in mysql.

AMPDBPASS=NEWPASSWORD

Next restart amportal by typing

amportal restart

You also need to login and change the default password via the gui for the admin account.

Go to your GUI. Click FreePBX Administration -> Administrators -> Click Admin.

Then change the password click submit changes then Apply Configuration changes and finally Continue with Reload.

I hope this is helpful. For your PBX needs contact our sales department.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

HylaFax Server Install for connection to Asterisk PBX

HylaFax Server Install and setup for connection to Asterisk PBX Use vi editor or if you prefer...

sip_nat.conf making calls work behind NAT Firewall Asterisk, Trixbox, FreePBX, Elastix and more.

You have to setup the sip_nat.conf with the External IP and the Internal Network if you are behin...

Trixbox, Elastix FreePBX Trunk two servers together

This will trunk two asterisk servers together. Once you have them trunked you can add dial rules...