Want more timely Centmin Mod News Updates?
Become a Member

Pure-FTPD Forgot pure-ftpd username/password?

Discussion in 'Other Centmin Mod Installed software' started by jacknguyen, Jul 6, 2022.

  1. jacknguyen

    jacknguyen Member

    39
    6
    8
    Jun 3, 2022
    Ratings:
    +9
    Local Time:
    10:11 AM
    1.5
    10
    Hello i need your help please
    I forgot "YOURFTPUSERNAME "
    So how i can list all ftp usename, i don;t see in etc/passwd

     
  2. eva2000

    eva2000 Administrator Staff Member

    53,461
    12,128
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,668
    Local Time:
    12:11 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    You can read up on pure-ftpd virtual ftp user setup at Pure-FTPD Virtual FTP Users

    From 1st post here, try the pure-pw commands to display pure-ftpd user details and change the user password. Also pure-pw manual is here and http://download.pureftpd.org/pub/pure-ftpd/doc/README.Virtual-Users

    list all pure-ftpd created virtual FTP users
    Code (Text):
    pure-pw list


    Code (Text):
    pure-pw list
    ftpuser             /usr/local/nginx/html/./                     
    ftpuser2            /usr/local/nginx/html/./                     
    ftpuser3            /usr/local/nginx/html/./                     
    ftpuser4            /home/nginx/domains/domain1.com/./           
    ftpuser6            /home/nginx/domains/sub.domain1.com/./         
    ftpuser5            /home/nginx/domains/domain2.com/./


    to delete virtual FTP user
    Code (Text):
    pure-pw userdel FTPUSERNAME
    pure-pw mkdb


    change virtual FTP user's password
    Code (Text):
    pure-pw passwd FTPUSERNAME
    pure-pw mkdb


    show full details for an specific pure-ftpd virtual FTP user
    Code (Text):
    pure-pw show FTPUSERNAME


    password is encrypted

    Code (Text):
    pure-pw show ftpuser5
    
    Login              : ftpuser5
    Password           : $1$msgfvdN0$51dhLdPGiCQpQEwtZ30kF1
    UID                : 500 (nginx)
    GID                : 500 (nginx)
    Directory          : /home/nginx/domains/domain2.com/./
    Full name          :
    Download bandwidth : 0 Kb (unlimited)
    Upload   bandwidth : 0 Kb (unlimited)
    Max files          : 0 (unlimited)
    Max size           : 0 Mb (unlimited)
    Ratio              : 0:0 (unlimited:unlimited)
    Allowed local  IPs :
    Denied  local  IPs :
    Allowed client IPs :
    Denied  client IPs :
    Time restrictions  : 0000-0000 (unlimited)
    Max sim sessions   : 0 (unlimited)