How to reset FreePBX admin password

How to reset FreePBX admin password

If you forget the freepbx admin password  and you have  root  ssh access you can reset the admin  password .

1-  Access your login page  and press Ctrl +A

2- Copy the  unique session ID

3- Now on your SSH session type as below adn replace your unique session ID

[root@pbx ~]# fwconsole unlock igg56njsp8bi0h4serfwepsq963
Unlocking:
session unlocked!
[root@pbx ~]#

or

If you are using FreePBX 13 or earlier and the above gives you a ‘command not found’ error message, use the depreciated amportal command

[root@pbx ~]# amportal a u igg56njswewbi0h4odqnupsq963
Fetching FreePBX settings with gen_amp_conf.php..
session unlocked!
[root@pbx ~]#

4- Now refresh the login page and you will be automatically logged in.

5-  Now Go to    Admin -> Administrators and select your user on the right side of the page. At this point you can reset your password.

Your email address will not be published. Required fields are marked *