Discover Centmin Mod today
Register Now

How to create one FTP user to access all wordpress installations

Discussion in 'Other Centmin Mod Installed software' started by radbrad, Dec 14, 2020.

  1. radbrad

    radbrad Member

    34
    3
    8
    Feb 15, 2020
    Ratings:
    +4
    Local Time:
    2:24 AM
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: i.e. 123.08stable
    I want to know how to create a single FTP user that can access all my Wordpress folders instead of creating one ftp user for every Wordpress website.
    Another problem is, I have followed every instruction on Pure-FTPD Virtual FTP Users - CentminMod.com LEMP Nginx web stack for CentOS
    and changed my FTP password but unable to login via Filezilla and getting the error below


    Code:
    Error:    Could not connect to server
    Status:    Waiting to retry...
     
  2. eva2000

    eva2000 Administrator Staff Member

    49,565
    11,375
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,678
    Local Time:
    6:54 AM
    Nginx 1.21.x
    MariaDB 10.x
    outline exact commands used also are you connecting via IP or hostname ?

    tried restart pure-ftpd service too?
    Code (Text):
    service pure-ftpd restart

    right now you can't out of the box but if you use recreate instructions at Pure-FTPD Virtual FTP Users - CentminMod.com LEMP Nginx web stack for CentOS and instead of specific domain vhost you specify up a level, it should technically work

    so instead of
    Code (Text):
    pure-pw useradd YOURFTPUSERNAME -u nginx -g nginx -d /home/nginx/domains/domain.com
    pure-pw mkdb
    

    do one directory level above /home/nginx/domains
    Code (Text):
    pure-pw useradd YOURFTPUSERNAME -u nginx -g nginx -d /home/nginx/domains
    pure-pw mkdb
    
     
  3. radbrad

    radbrad Member

    34
    3
    8
    Feb 15, 2020
    Ratings:
    +4
    Local Time:
    2:24 AM
    The command I used to change password of an FTP user is

    Code:
    pure-pw passwd FTPUSERNAME
    pure-pw mkdb
    
    Im using IP to connect via Filezilla.

    I restarted the pure-ftp service and also created a new user like you said one directory level up....Still getting the same error.