Not Logged in - No Account?
Don't have an account? Registering an account with us allows you to post to the forums, easily track new posts, subscribe to threads, pm (private message) other forum members, and receive periodic news letters (you can opt out if you desire). Once you are logged in this message will no longer appear. If you don't have an account, you can create one by registering here. Lost your password, request a new password. We respect your privacy which means we collect minimal information when you register and we do not resell that information or use it in any objectionable way. You can review our privacy policy for full details.
Changing the Asterisk manager password
Changing the Asterisk manager password
If you are using the default password, you will see the message:
Warning: You are running freePBX and asterisk with the
default manager pass. You should consider changing this to something
else.
Running with the default password is a bad idea, simply because
everyone else in the world knows it, and (if not properly firewalled,
etc etc) could potentially connect to your asterisk box and do bad
things(tm).
Warning: Don't get cute and try to use a password
with non-alphabetic or non-numeric characters - things may break in
strange ways if you try to use punctuation characters in passwords.
Unless you really know what you are doing, stick to numbers and
standard alphabetic characters.
Changing the password
To do this, you need to edit two files: /etc/asterisk/manager.conf and /etc/amportal.conf
manager.conf
This controls the asterisk 'manager' users that are allowed to connect to the asterisk manager interface.
For full information on the file, see http://www.voip-info.org/wiki/index.php?page=Asterisk+config+manager.conf
You can have as many users in here as you'd like (for example, an
operator panel might use one) and in fact, you should have different
users for each application.
freePBX requires a user that has a definition like the following:
[admin]
secret = secret123password
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
amportal.conf
There needs to be a corresponding entry in /etc/amportal.conf
AMPMGRUSER=admin
AMPMGRPASS=secret123password
Obviously you just need to use the same username (inside the square brackets) and password as above.
- Printer-friendly version
- Login or register to post comments
Following these instructions leads to broken system
I tried changing my system's password following the steps here and wound up unable to direct calls (internal or external) to extensions. For some reason the dialparties.agi script was still pulling the default "amp111" password from somewhere and failing to authenticate. Once I undid the changes detailed above things went back to normal.
Very frustrating.
edit:
While looking at amportal.conf for another issue I noticed in the header that you have to run apply_conf after changing anything. I was unaware of this...maybe this should be added to the end of this FAQ.
edit2:
I also see now that the default password can be found in "extensions_additional.conf". I have to wonder what kind of trouble can be caused by not changing it there.