Welcome to Centmin Mod Community
Register Now

[Solved] Can't seem to change FTP users password...

Discussion in 'Bug Reports' started by ethanpil, Jan 19, 2016.

  1. ethanpil

    ethanpil Active Member

    173
    55
    28
    Nov 8, 2015
    Ratings:
    +101
    Local Time:
    12:10 AM
    Running 09 beta... I followed the instructions here to change ftp user password using pure-pw and it seems to work, except I cannot login with the new password... I tried restarting the ftpd although i shouldn't have to. Am I missing something?


    Code:
    [root@server2 ~]# pure-pw list
    
    sm                  /home/nginx/domains/sm.com/./                    
    
    [root@server2 ~]# pure-pw passwd sm
    
    Password:   xxxx
    Enter it again: xxxx
    
    [root@server2 ~]# pure-pw mkdb
    
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,178
    12,112
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,647
    Local Time:
    12:10 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what's error your ftp client gives ? logs/debug/trace within ftp client ? has ftp connection ever worked previously ?

    was your system always on 123.09beta01 or upgraded from 123.08stable ?
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,178
    12,112
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,647
    Local Time:
    12:10 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  4. ethanpil

    ethanpil Active Member

    173
    55
    28
    Nov 8, 2015
    Ratings:
    +101
    Local Time:
    12:10 AM
    This is a new system. I never was able to login previous FTP password since the email was accidentally deleted. Never had the password. Its just not a valid password. After a few attempts to login with what I am sure is the corrrect password CSF/LFD then bans my ip...
     
  5. eva2000

    eva2000 Administrator Staff Member

    53,178
    12,112
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,647
    Local Time:
    12:10 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    pure-ftpd might not like some no alpha-numerical characters in your password ?

    Yeah CSF/LFD is doing it's job to ban multiple failed logins to ftp and ssh as such

    logs/debug/trace within ftp client might give clues as would pure-ftpd log at /var/log/pureftpd.log and /var/log/secure for logins
     
  6. ethanpil

    ethanpil Active Member

    173
    55
    28
    Nov 8, 2015
    Ratings:
    +101
    Local Time:
    12:10 AM
    After playing with it. It seems that WinSCP wasn't able to login but out of desperation I tried FileZilla, and it is working. Went back to WinSCP and its not working. Same password, cut and pasted...

    Perhaps one of the special characters in the password are confusing WinSCP. I guess it might be good to note that WinSCP has this issue in case anyone else discovers it. Thanks and sorry to bother...
     
  7. eva2000

    eva2000 Administrator Staff Member

    53,178
    12,112
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,647
    Local Time:
    12:10 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    strange indeed !