Change Default FreePBX password AsteriskNOW 1.7 Print

  • 1

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


[[email protected] ~]# 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 [email protected]=PASSWORD('NEWPASSWORD');
Query OK, 0 rows affected (0.00 sec)

mysql> SET PASSWORD FOR [email protected]=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


# AMPDBPASS: the password for AMPDBUSER

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


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.

Was this answer helpful?

« Back