Get the most out of your Centmin Mod LEMP stack
Become a Member

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

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

  1. ethanpil

    ethanpil Active Member

    168
    47
    28
    Nov 8, 2015
    Ratings:
    +87
    Local Time:
    7:55 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

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    7:55 AM
    Nginx 1.13.x
    MariaDB 5.5
    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

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    7:55 AM
    Nginx 1.13.x
    MariaDB 5.5
  4. ethanpil

    ethanpil Active Member

    168
    47
    28
    Nov 8, 2015
    Ratings:
    +87
    Local Time:
    7:55 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

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    7:55 AM
    Nginx 1.13.x
    MariaDB 5.5
    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

    168
    47
    28
    Nov 8, 2015
    Ratings:
    +87
    Local Time:
    7:55 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...
     
    • Informative Informative x 1
  7. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    7:55 AM
    Nginx 1.13.x
    MariaDB 5.5
    strange indeed !