Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 716 Bytes

README.md

File metadata and controls

40 lines (24 loc) · 716 Bytes

Some changes

  1. Install the relevant software

    yum install -y vsftpd lftp ftp libdb-utils # CentOS apt install -y vsftpd lftp ftp db-util # Ubuntu

  2. Backup your configure file

    cp -r /etc/vsftpd/ /etc/vsftpd.`date +%F`.bak cp -r /etc/pam.d/vsftpd /etc/pam.d/vsftpd.`date +%F`.bak

Instructions:

The odd number line is user name,

The even number line is user password.

Install configure

Execute the script

chmod +x vsftpd-ctl.sh
./vsftpd-ctl.sh init

Adduser

./vsftpd-ctl.sh useradd username passwd rw

Instructions

Relevant documents according to the configuration of a file

FAQ

If some settings and do not understand, see vsftpd.conf