1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FTP changing passwords

Discussion in 'General Discussion' started by sparek-3, Apr 22, 2005.

  1. sparek-3

    sparek-3 Active Member

    Joined:
    Aug 10, 2002
    Messages:
    1,217
    Likes Received:
    4
    Trophy Points:
    38
    I have noticed some issues using the chpass script in the /scripts directory in CPanel. These problems affect how FTP passwords are used. I'm just wondering if anyone else is experiencing these same problems or if it is just me.

    I am using the script:

    /scripts/chpass

    where the arguments are <username> <new password>

    I have noticed that if you use this this script, while you are using the ProFTPd server, that the last two passwords will work. That is the <new password> you provided when you changed the password, and the old password, the previous password for that account, will work for FTP logins. If you change the password using the Password Modification link the WHM, this does not happen and everything works as you would think it should.

    If you switch your FTP server to PureFTPd, the current password does not work for FTP logins. You must use the password that was previously used for this account. This one seems strange, and it could have something to do with me changing the password on an account several times, while testing all of this out.

    Also on PureFTPd, /scripts/chpass does not work. You can change the password as many times as you want, but the FTP login does not change. If you use the Password Modification link in the WHM, then the password can be changed and everything works as it should.

    I don't know if these are issues that people are aware of. I don't know if anyone still uses the /scripts/chpass script any more. I checked on bugzilla and did not see any bugs related to this. I can submit a bug report, but thought I would check here first to see if anyone else is having problems, or perhaps I am using a deprecated script.
     
  2. anup123

    anup123 Member

    Joined:
    Mar 29, 2004
    Messages:
    984
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    All that i have noticed is that if i change passwd from ssh for any user, FTP (pure-ftp) would not work unless i synchro the same from within WHM.

    Anup
     
  3. sparek-3

    sparek-3 Active Member

    Joined:
    Aug 10, 2002
    Messages:
    1,217
    Likes Received:
    4
    Trophy Points:
    38
    Anybody else experiencing these problems?
     

Share This Page