Changing Default Passwords
The main login and password for our system is the root
account. If someone gains access to the root
account, they have full and complete access to our entire system. This is the first thing we should change before deploying our system. Either logged in from the console or via SSH, we need to use the passwd
command to change the root password.
[root@asterisk1 ~]# passwd
Changing password for user root.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
Secondly, we need to change the passwords for the maint
and wwwadmin
accounts. TrixBox includes scripts to help us with this. To change the password we use to log into FreePBX, we will use the following command:
passwd-maint
We will see the following appear:
-------------------------------------------
Set password for AMP web GUI and maint GUI
User: maint
-------------------------------------------
New password:
Re-type new password:
Updating password for user maint...