Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th September 2009, 18:00
wxman wxman is offline
Senior Member
 
Join Date: May 2007
Posts: 189
Thanks: 11
Thanked 2 Times in 2 Posts
Default Consequences of changing Mysql root password

I'd like to change my root password for MySql. I think I know where it's been used so I can update it, but I was wondering if ISPConfig is still using it somewhere after the initial install?
Reply With Quote
Sponsored Links
  #2  
Old 27th September 2009, 20:07
vogelor vogelor is offline
ISPConfig Developer
 
Join Date: Jan 2007
Location: Wernau, Germany
Posts: 219
Thanks: 42
Thanked 34 Times in 24 Posts
Default

ISPConfig IS using it, because we need the right to add a database and to add user and so on....

have a look at the config-files

(ATTENTION! if your have a multi-server environment, than there are TWO config files at the "slave"-server!)
__________________
Der neue Luxus heit Zeit, nicht Geld!

Firma : http://www.muv.com, http://www.computerandservice.de
Privat : http://www.vogelor.de
Reply With Quote
  #3  
Old 27th September 2009, 20:27
wxman wxman is offline
Senior Member
 
Join Date: May 2007
Posts: 189
Thanks: 11
Thanked 2 Times in 2 Posts
Default

Now you're going to make me feel bad. I can't remember where the config files are? I have a copy of one, but I didn'r say where it came from.

NOTE: I think I found them:
/usr/local/ispconfig/server/lib/config.ing.php
/usr/local/ispconfig/interface/lib/config.ing.php
but the password is encoded. How do I get around that?

Last edited by wxman; 27th September 2009 at 20:42.
Reply With Quote
  #4  
Old 27th September 2009, 22:27
vogelor vogelor is offline
ISPConfig Developer
 
Join Date: Jan 2007
Location: Wernau, Germany
Posts: 219
Thanks: 42
Thanked 34 Times in 24 Posts
Default

the server has its file at

/usr/local/ispconfig/server/lib
config.inc.php
mysql_clientdb.conf

the interface has its file at

/usr/local/ispconfig/interface/lib
config.inc.php


hope, this helps

Olli
__________________
Der neue Luxus heit Zeit, nicht Geld!

Firma : http://www.muv.com, http://www.computerandservice.de
Privat : http://www.vogelor.de
Reply With Quote
  #5  
Old 27th September 2009, 22:30
vogelor vogelor is offline
ISPConfig Developer
 
Join Date: Jan 2007
Location: Wernau, Germany
Posts: 219
Thanks: 42
Thanked 34 Times in 24 Posts
Default

i think the password is NOT encoded.

it is in mysql_clientdb.conf the password in config.inc.php is NOT the root-pwd i think...
__________________
Der neue Luxus heit Zeit, nicht Geld!

Firma : http://www.muv.com, http://www.computerandservice.de
Privat : http://www.vogelor.de
Reply With Quote
  #6  
Old 28th September 2009, 00:44
wxman wxman is offline
Senior Member
 
Join Date: May 2007
Posts: 189
Thanks: 11
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by vogelor View Post
i think the password is NOT encoded.

it is in mysql_clientdb.conf the password in config.inc.php is NOT the root-pwd i think...
I was just going to ask that. I thought the save passwords in the config files were just the 'ispconfig' user.
Reply With Quote
  #7  
Old 16th April 2010, 15:02
dimitrivisser dimitrivisser is offline
Junior Member
 
Join Date: Mar 2010
Location: Amsterdam, Netherlands
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via MSN to dimitrivisser
Default

Quote:
Originally Posted by vogelor View Post
the server has its file at

/usr/local/ispconfig/server/lib
config.inc.php
mysql_clientdb.conf

the interface has its file at

/usr/local/ispconfig/interface/lib
config.inc.php
I needed to change my mysql root password fast, not because my server was hacked, but because the desktopcomputer where this password was saved had a virus. The virus stole already all my ftp passwords saved in FileZilla and hackers used it to change my websites, adding scripts to every index.html and index.php. I do not know if they also have the mysql root password, but I thought it was better to change it, just to be sure.

But the only ispconfig file I could find with the mysql root password is /home/admispconfig/ispconfig/lib/config.inc.php

I cannot find anything in /usr/local ???

Is it ok now, or did I miss something ? I am using ispconfig 2. I hope someone can help me. I really feel bad after this... Spent the last 15 hours removing all scripts from my websites :-(
Reply With Quote
  #8  
Old 17th April 2010, 19:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Quote:
Originally Posted by dimitrivisser View Post
But the only ispconfig file I could find with the mysql root password is /home/admispconfig/ispconfig/lib/config.inc.php
This is correct for ISPConfig 2.

Quote:
Originally Posted by dimitrivisser View Post
I cannot find anything in /usr/local ???
This is for ISPConfig 3 only.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update to php 5.2.6 problem with the aliases Stown Installation/Configuration 9 18th September 2009 12:44
monit howto Jamesk5 HOWTO-Related Questions 11 5th August 2008 16:10
Postfix email server problems Access denied 554 554 5.7.1 state 14 AceRimmer Server Operation 4 19th June 2008 15:36
clamassassin - centos 4.3 wcsmith Installation/Configuration 41 20th November 2007 00:30
Server Side Includes don't work PermaNoob General 7 1st May 2007 21:38


All times are GMT +2. The time now is 03:53.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.