Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Complete Guide to Fixing Default Passwords for Trixbox

Complete Guide to Fixing Default Passwords for Trixbox

Ratings:
(0)
|Views: 137|Likes:
Published by scribd19999
Complete Guide to Fixing Default Passwords for Amportal / Free-PBX /
MySQL /phpSQL / FOP / Postfix / Meet-Me & Apache
Complete Guide to Fixing Default Passwords for Amportal / Free-PBX /
MySQL /phpSQL / FOP / Postfix / Meet-Me & Apache

More info:

Published by: scribd19999 on Oct 20, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

10/20/2011

pdf

text

original

 
Complete Guide to Fixing Default Passwords for Amportal / Free-PBX /MySQL /phpSQL / FOP / Postfix / Meet-Me & Apache
Mac_1000
Posts: 39Member Since:2007-08-25
Submitted by Mac_1000 on Fri, 12/19/2008 - 6:20pm.
Complete Guide to Fixing Default Passwords for Amportal / Free-PBX / MySQL /phpSQL / FOP /Postfix / Meet-Me & Apache (For trixbox CE current release is 2.6.1.13 this Dec 19-2006)Change default passwords:Let's change our passwords. We need to do this at the Linux CLI.
 
Update “maint” password by typing ‘passwd-maint’ at the command line. Enter the password twice.
 
Update Web meetme password by typing 'passwd-meetme' at the command line. Enter thepassword twice.FreePBX admin pass:To change the FreePBX manager pass, you need to edit two separate files and put in the newpassword.
 
nano /etc/asterisk/manager.conf 
 
Find 'secret = amp111' under the [admin] section. Change 'amp111' to your new desiredpassword. CTRL+X followed by 'Y' to save and exit.Now, we need to edit the /etc/amportal.conf to use our new password.nano /etc/amportal.conf Find the line that says 'AMPMGRPASS=amp111' and change the 'amp111' to the new password you just set. CTRL+X followed by 'Y' to save and exit.
 
amportal restart
 
*** NOTE: I have found out the hard way that FreePBX does not like having an exclamation point(!) in the admin password. There may be other special characters that it doesn't like also.------------------------------------------------------------Changing the MySQL / CDR / phpMySQL / password on trixbox 2.6.1+ systems:mysql -u root -pFrom here, enter the mySQL root password, which is passw0rd by default
 
You will be entered into the mysql configuration page. You will see:
 
mysql>
 
Type: use mysql;Type all on one line: update user set password=PASSWORD("new_pass_here") whereUser='asteriskuser';Type: flush privileges;Type: quit
 
The passwords must now be updated into the required files. See below.
 
Edit /etc/amportal.conf. Change the AMPDBPASS from amp109 to the new password you justcreatedEdit /etc/asterisk/cdr_mysql.conf and change the default password to the new password for CallDetail Records (CDR)Edit /etc/asterisk/cbmysql.conf and change the default password to the new password for MySQLIf you have phpMyadmin installed, you will encounter an error upon accessing it. To fix the error,edit /var/www/html/maint/modules/phpmyadmin/config.inc.php. Scroll down and you will see the
 
default password entered there. Replace that with the new password you created
 
Type: mysqladmin -u root -p password NewPassword
 
You will be prompted for the old mysql root password, which is passw0rd by default
 
Run the following two commands:service mysqld restartamportal restart-----------------------------------------------------------------------FIXING FOP / POSTFIX & MEET-ME PASSWORDChange FOP password: in amportal.conf, find FOPPASSWORD=passw0rd and change it to
 
"FOPPASSWORD=newpassword"
 
Now that we have reached 2.6.1 and they have changed the MTA to Postfix you might wish to addthe password change in the file /var/www/html/include/ccsframework/Common.php as well.Also, for Meetme to not fail with a db connect failure change :- /var/www/html/web-meetme/lib/database.php-------------------------------------------------------------------FIXING APACHE "Maint " User - LOGONConfiguration
 
This module may not be active by default, and will say 'NOTE -AUTHTYPE is not set to 'database' in /etc/amportal.conf - Modulecrippled'. To enable it, you need to change AUTHTYPE in /etc/amportal.conf to 'database'. If you have already tried to addusers before changing AUTHTYPE to 'database', delete them now and readthe "important warning" below.
 
Trixbox or Asterisk@Home users have some extra work due to theApache level authentication with the "maint" user. You will have tocomment out or delete the following lines in /etc/trixbox/httpdconf/trixbox.conf for Trixbox or /etc/httpd/conf/httpd.conf for A@H for this to work:
 
# Password protect /var/www/html/admin
 
## AuthType Basic# AuthName "Restricted Area"# AuthUserFile /usr/local/apache/passwd/wwwpasswd# Require user wwwadmin maint#Then you have to restart httpd (/etc/init.d/httpd restart) andpossibly amportal (amportal restart) too. You should now be able tologin with admin/admin and create/change users in the Administratorsmodule. Be sure to change the admin password straight away!Important Warning! Read before using this moduleIt is quite easy to lock yourself out of freePBX if you enableAUTHTYPE after you have added users. Don't do it. If you want to use
 
this, then you must have NO USERS CREATED before you turn it on. If you
 
don't heed this advice, and turn it on with an existing user there,then nothing you type in will let you access freePBX. You'll have toturn it back off, and then delete any existing users.Adding a UserEnter a username and password in the General section. If this isthe first user, make sure that you select 'ALL SECTIONS' in the 'AdminAccess' list so you can get back in there. As soon as you add the first
 
user, you will then be prompted for a username and password. Log in as
 
the user you've just created.
 
Limiting User Access- Department Name- Have been unable to find any documentation on this . Help?- Extension Range- When this user is logged in, they will only see the rangespecified here. This is useful if you're setting up multiple tenants on
 
the one system.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->