Pbx settings login

hi everyone

i wanted to enable administrator account authentication and i did it according to packt freepbx2.5 powerful telephony solution page222:

#sudo sed -i “s/AUTHTYPE=none/AUTHTYPE=database/” /etc/amportal.conf

after that in freepbx on administrators i create an account name MasterAdmin with full access . now when i login to freepbx after swith to admin mode i receive authentication that i enter maint and password

afterward represent second authentication but any username or password is wrong. what shoud i do?thanks in advance

Hooray I found it in this link:

To use authtype=database:

  1. Make sure you changed authtype to say AUTHTYPE=database

  2. nano or vi /etc/trixbox/httpdconf/trixbox.conf

  3. scroll down, make sure this section is rem’d out with #:

#Password protect /var/www/html/admin
<Directory /var/www/html/admin>
#AuthType Basic
#AuthName “Restricted Area”
#AuthUserFile /usr/local/apache/passwd/wwwpasswd
#Require user wwwadmin maint

  1. ctrl + x to save or :wq and exit.

  2. service httpd restart ( /etc/init.d/httpd restart)

  3. login to freePBX with the username being admin and the password being admin. change this password, add/remove usernames by going to the Administrators section in freepbx

thank you for your kind of help ja133 :slight_smile: