Results 1 to 15 of 15
  1. #1
    Join Date
    Oct 2005
    Location
    Murcia, Spain.
    Posts
    169
    Points
    8,642
    Level
    39

    FTP password is lost after importing account.

    Hi,

    This has happened to us several times now. When we import an account (either through one account or through several), the password on the FTP account(s) is lost and the only way to recover it is to retype it.

    We have this problem on 2 CentOS 5.X with Interworx 3.0.3.

    If anyone is interested in more information, we can provide it.

    Regards,

  2. The Following User Says Thank You to Poooh For This Useful Post:


  3. #2
    Join Date
    Feb 2006
    Posts
    128
    Points
    7,892
    Level
    38
    I've just had this problem ...

    When migrating from a CentOS 4 x86_64 to CentOS 5 x86_64 ...

    Had you found any solution ? or a post-install trick ? ;-)

    Regards

  4. The Following User Says Thank You to paulo For This Useful Post:


  5. #3
    Join Date
    Oct 2005
    Location
    Murcia, Spain.
    Posts
    169
    Points
    8,642
    Level
    39
    Quote Originally Posted by paulo View Post
    I've just had this problem ...

    When migrating from a CentOS 4 x86_64 to CentOS 5 x86_64 ...

    Had you found any solution ? or a post-install trick ? ;-)

    Regards
    No, we had to re-create the password manually.

    No news from the Iworx team either...

  6. The Following User Says Thank You to Poooh For This Useful Post:


  7. #4
    Join Date
    Jan 2004
    Location
    Pittsburgh, PA
    Posts
    1,209
    Points
    16,995
    Level
    56
    We're aware of this problem and it will be adressed in the next release, coming soon.

    Paul
    Paul Oehler
    InterWorx-CP | http://interworx.com
    InterWorx Control Panel

  8. The Following User Says Thank You to IWorx-Paul For This Useful Post:


  9. #5
    Join Date
    Feb 2006
    Posts
    128
    Points
    7,892
    Level
    38
    Hi Paul,

    Is there anything we can do after migrating 91 sites from server ? :-) ... any trick ?

    Thank you

    Paulo

  10. The Following User Says Thank You to paulo For This Useful Post:


  11. #6
    Join Date
    Sep 2011
    Posts
    42
    Points
    2,845
    Level
    22
    I just experienced this same problem after doing a mass transfer import on the very latest interworx version

    Again: Is there some fix I can apply to fix it and avoid needing to reset all passwords?
    Last edited by nars; 12-05-2015 at 04:14 AM.

  12. The Following User Says Thank You to nars For This Useful Post:


  13. #7
    Join Date
    Apr 2012
    Posts
    2,187
    Points
    24,755
    Level
    68
    Hi nars

    To be honest, I have not seen this between centos 6 and 7, including IW5 and IW5.1.

    I would open a support ticket to let IW have a look at what went wrong

    Hopefully if other users have seen this issue, perhaps they would like to post

    Many thanks

    John

  14. The Following User Says Thank You to d2d4j For This Useful Post:


  15. #8
    Join Date
    May 2010
    Posts
    193
    Points
    8,470
    Level
    39
    You can edit the passwords in the IW db manually. If you have compressed backup you can find the hashed password in the manifest file. Using mass transfer I think you have to have a working account so you can copy the passwords from the IW db. You can enable the IW db here: Server / Settings / Debug mode and than you can open the db in: System Services / MySQL Services / phpMyAdmin / Database server: InterWorx DB

    In the iworx_ftp database is the useres table containing the passwords.

    It's wokrking on Centos6 and 7 too!
    Last edited by dss; 12-05-2015 at 07:01 AM.

  16. The Following User Says Thank You to dss For This Useful Post:


  17. #9
    Join Date
    Sep 2011
    Posts
    42
    Points
    2,845
    Level
    22
    I have CentOS 6 64-bit + IW 5.1.2 on both systems and apparently it happened with all ftp accounts imported using the mass transfer import.

    I did actually looked yesterday at the users table on the iworx_ftp db, on both servers, and I could see apparently hashed passwords (in a format like $1$xxxxxxxx$xxxxxxxxxxxxxxxxxxxxxx) and I could notice that these hashs on the new server doesn't match the ones on the old one, for the same ftp accounts... but I'm not sure if these are system dependent hashs (but if so how could them be imported?)... or should they really match?

    One thing to note... my old server, despite updated to latest IW version, haves this same IW install for long time, since near 2010, I'm wondering if it may be the source of the problem, for eg. if something was not properly updated over the time, or if old IW used some "legacy" way to store hashed ftp passwords that is not default anymore but is still being used on my old server...
    Last edited by nars; 12-05-2015 at 04:29 PM.

  18. The Following User Says Thank You to nars For This Useful Post:


  19. #10
    Join Date
    Sep 2011
    Posts
    42
    Points
    2,845
    Level
    22
    Ok, apparently I did just found what happened! (no idea why... but maybe this will help you investigate/think on it)

    The hashs on the new server are actually hashed from the hash's on the old server, i.e. hash(hash(password)), that means: to ftp login on the new server I need to use the hashs stored on old server iworx_ftp db as password's and it works.
    Last edited by nars; 12-05-2015 at 04:31 PM.

  20. The Following User Says Thank You to nars For This Useful Post:


  21. #11
    Join Date
    May 2010
    Posts
    193
    Points
    8,470
    Level
    39
    Just copy the old (working) hashes to the new server! I think it's not depending on the intstallation date, I had problem on a 2 months old backup. I solved with the mentioned solution.

  22. The Following User Says Thank You to dss For This Useful Post:


  23. #12
    Join Date
    Apr 2012
    Posts
    2,187
    Points
    24,755
    Level
    68
    Hi nars and dss

    I'm pondering if it's connected with old hash to new hash

    Are all the passwords in the new hash format

    I could be wrong though, so apologies in advance

    Many thanks

    John

  24. The Following User Says Thank You to d2d4j For This Useful Post:


  25. #13
    Join Date
    Sep 2011
    Posts
    42
    Points
    2,845
    Level
    22
    I did just test to copy the hashs from old server to the new one, as dss suggested, and it's now working on the new server with the original passwords, as it should, anyway would be probably good for the IW staff to look at this.

    Thank you both for your help and have a good weekend
    Last edited by nars; 12-05-2015 at 04:56 PM.

  26. The Following User Says Thank You to nars For This Useful Post:


  27. #14
    Join Date
    Nov 2009
    Posts
    29
    Points
    3,625
    Level
    25
    This is an old bug that needs to be addressed sooner or later.

  28. The Following User Says Thank You to onspot For This Useful Post:


  29. #15
    Join Date
    Apr 2012
    Posts
    2,187
    Points
    24,755
    Level
    68

    FTP password is lost after importing account.

    Hi onspot

    This was resolved in IW 5.1.7

    You can check any time on the change log

    I hope that helps

    Many thanks

    John
    Last edited by d2d4j; 03-16-2016 at 02:36 PM.

  30. The Following User Says Thank You to d2d4j For This Useful Post:


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •