AsteriskNow – How To Change The Default FreePBX Password

AsteriskNow is a full blow free turnkey PBX Linux distribution based on CentoOS that can be used in many different types of telephony applications. It is very easy to install and initially setup however changing the default freepbx password can be a bit challenging since there is no link or menu anywhere in the interface to do so!

The default username and password for the FreePBX database and Web frontend are freepbx/fpbx. Having no clear way of changing this leaves a very large security hole open on your newly created PBX system! Here is how you can do it manually via the command line.

Log in as root at the command line and start the mysql command line client:

Select the mysql database:

Update the freepbx user password:

Now we need to update a few files with the new password

In /etc/amportal.conf edit this line:

In /etc/asterisk/cdr_mysql.conf edit this line:

In /etc/asterisk/extensions_additional.conf edit this line:

Now restart the amportal service:

You should now be able to log into your FreePBX web frontend with the user freepbx and your new password.