AsteriskNOW 1.7 & FreePBX – Change All Default Passwords

When you install AsteriskNOW 1.7.1, the default username/password for the FreePBX Admin console is set to admin/admin. After logging in for the first time it is a good idea to change it as this can be a security risk. It is recommended that your password contain a mix of lowercase and UPPERCASE letters, numbers, and/or symbols.

FreePBX Admin Password

To connect to FreePBX, point a web browser to http://<IP address>/admin/. The default username/password is admin/admin. After logging in for the first time it is a good idea to click the reload button if it appears. From the "Setup" tab, select "Administrators" and select user "admin" box on the right side. Recommend that you change the username and set a strong password

Asterisk Manager Password

Login to your server via SSH.
Edit /etc/asterisk/manager.conf
NoteNote
[admin] must match AMPMGRUSER=admin below.

[admin]
secret=yournewSTr0ngpassw0rd
Edit /etc/amportal.conf
# AMPMGRUSER: the user to access the Asterisk manager interface
AMPMGRUSER=admin # AMPMGRPASS: the password for AMPMGRUSER AMPMGRPASS=yournewSTr0ngpassw0rd

Flash Operator Panel Password

Edit /etc/amportal.conf
# FOPPASSWORD: the secret code for performing transfers and hangups in the Flash Operator Panel
FOPPASSWORD=yournewSTr0ngFOPpassw0rd

ARI Admin password

Edit /etc/amportal.conf and add the following to the end of /etc/amportal.conf
# ARI_ADMIN_USERNAME
ARI_ADMIN_USERNAME=ariadmin
# ARI_ADMIN_PASSWORD
ARI_ADMIN_PASSWORD=yournewSTr0ngARIpassw0rd
It's recommended you reboot the server but you may get away with restarting amportal
# amportal restart
Once the Asterisk is up and running, connect to asterisk process:
# asterisk -rvvvvvvv
pbx*CLI>
While connected to the CLI, browse around FreePBX.  This should cause the following output on the CLI.
== Manager ‘admin’ logged on from 127.0.0.1
== Manager ‘admin’ logged off from 127.0.0.1
== Manager ‘admin’ logged on from 127.0.0.1
== Manager ‘admin’ logged off from 127.0.0.1
== Manager ‘admin’ logged on from 127.0.0.1
== Manager ‘admin’ logged off from 127.0.0.1
pbx*CLI>
This shows that FreePBX is able to sucessfully logon to the running process.

Based on AsteriskNOW 1.7.1 32-bit.

No comments:

Post a Comment