#1  
Old 5th August 2011, 10:48
SamTzu SamTzu is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Helsinki
Posts: 424
Thanks: 33
Thanked 50 Times in 35 Posts
Send a message via Skype™ to SamTzu
Default Passwords

We are moving some sites from old ISPConfig3 to new cluster and have a question.

Is it possible to just copy the passwords from the old server to the new cluster?

Bear in mind that there are all ready users in the new cluster and that we are migrating old users from several stand alone servers.
__________________

Sami Mattila
Internet-Content

Telephone:
00358942833310
Email: firstname.lastname@internet-content.org
Shop: http://shop.internet-content.net
Site: http://www.internet-content.net
Blog: http://www.internet-content.net/en/blog
FB: https://www.facebook.com/internetcontent

Reply With Quote
Sponsored Links
  #2  
Old 5th August 2011, 11:05
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,647
Thanks: 794
Thanked 5,002 Times in 3,911 Posts
Default

Quote:
Is it possible to just copy the passwords from the old server to the new cluster?
Yes, thats no problem. The password encryption method is the same in all ISPConfig 3 versions and crypt passwords are self contained as the salt is part of the password hash string.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 5th August 2011, 12:14
SamTzu SamTzu is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Helsinki
Posts: 424
Thanks: 33
Thanked 50 Times in 35 Posts
Send a message via Skype™ to SamTzu
Default

thx, Till.

What about the email passwords?
MySql passwords are in the database but what about the emails?
Are both the ISPConfig account and email account passwords in the /etc/shadow file?
And since it's a ISPConfig cluster should the passwords be on both the www and email servers /etc/shadow file?
__________________

Sami Mattila
Internet-Content

Telephone:
00358942833310
Email: firstname.lastname@internet-content.org
Shop: http://shop.internet-content.net
Site: http://www.internet-content.net
Blog: http://www.internet-content.net/en/blog
FB: https://www.facebook.com/internetcontent


Last edited by SamTzu; 5th August 2011 at 13:14. Reason: password
Reply With Quote
  #4  
Old 5th August 2011, 14:43
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,647
Thanks: 794
Thanked 5,002 Times in 3,911 Posts
Default

Email passwords are only in the mysql database, they are not in passwd and shadow.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
SamTzu (6th August 2011)
  #5  
Old 15th August 2011, 14:47
SamTzu SamTzu is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Helsinki
Posts: 424
Thanks: 33
Thanked 50 Times in 35 Posts
Send a message via Skype™ to SamTzu
Default

I'm still confused
I checked the clusters mail servers sql database.
On the old Courier server the users are there.
The new Dovecot servers user table did not have any user/password data in it. Where does the Dovecot hide it's email user passwords?
__________________

Sami Mattila
Internet-Content

Telephone:
00358942833310
Email: firstname.lastname@internet-content.org
Shop: http://shop.internet-content.net
Site: http://www.internet-content.net
Blog: http://www.internet-content.net/en/blog
FB: https://www.facebook.com/internetcontent

Reply With Quote
  #6  
Old 15th August 2011, 16:57
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,647
Thanks: 794
Thanked 5,002 Times in 3,911 Posts
Default

ISPConfig has only one "mail_user" table in every database and this table is used by courier and by dovecot to authenticate users. So if the table on the new slave server is empty, then you might have a problem with the connection of the salve to master server. Take a look into the /usr/local/ispconfig/server/lib/config.inc.php file and check that you are able to login with the master server details from that file from the slave to the master server with the "mysql" commandline utility.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 16th August 2011, 14:17
SamTzu SamTzu is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Helsinki
Posts: 424
Thanks: 33
Thanked 50 Times in 35 Posts
Send a message via Skype™ to SamTzu
 
Default

I was looking in the wrong place.
I thought that the users I saw in mysql/users table was the correct place.

thx.
__________________

Sami Mattila
Internet-Content

Telephone:
00358942833310
Email: firstname.lastname@internet-content.org
Shop: http://shop.internet-content.net
Site: http://www.internet-content.net
Blog: http://www.internet-content.net/en/blog
FB: https://www.facebook.com/internetcontent

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
Courier and encrypted passwords counterpoint HOWTO-Related Questions 10 3rd August 2011 01:08
User Passwords PoleCat Feature Requests 7 17th May 2008 16:04
Record user passwords catdude Feature Requests 0 19th September 2007 15:51
Clear Passwords Agosto Feature Requests 6 22nd March 2007 00:36
Condition of MD5 passwords as of 2.2.2 Rustin Installation/Configuration 1 10th May 2006 19:28


All times are GMT +2. The time now is 22:04.


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