Passwords

Discussion in 'General' started by SamTzu, Aug 5, 2011.

  1. SamTzu

    SamTzu Active Member

    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.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  3. SamTzu

    SamTzu Active Member

    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?
     
    Last edited: Aug 5, 2011
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Email passwords are only in the mysql database, they are not in passwd and shadow.
     
  5. SamTzu

    SamTzu Active Member

    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?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  7. SamTzu

    SamTzu Active Member

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

    thx.
     

Share This Page