Welcome to Centmin Mod Community
Register Now

Forgot pure-ftpd username/password?

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

  1. jacknguyen

    jacknguyen New Member

    9
    0
    1
    Jun 3, 2022
    Ratings:
    +1
    Local Time:
    3:30 PM
    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

    49,347
    11,308
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,591
    Local Time:
    5:30 PM
    Nginx 1.21.x
    MariaDB 10.x
    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)