2019/07/19

Pure-ftpd install and setup at Ubuntu

Pure-ftpd install and setup at Ubuntu



# sudo apt-get install pure-ftpd          # install
# echo "cp949" | tee /etc/pure-ftpd/conf/ClientCharset          # set character set(each country)
# echo "yes" | tee /etc/pure-ftpd/conf/BrokenClientsCompatibility          # ignore standard for interoperable.
# echo "yes" | tee /etc/pure-ftpd/conf/DontResolve          # logging using IP
# echo "yes" | tee /etc/pure-ftpd/conf/ChrootEveryone          # show just own home

# echo "no" | tee /etc/pure-ftpd/conf/NoAnonymous          # anonymous user accept
# useradd ftp          # make anonymous user
# mkdir /home/ftp          # make anonymous user directory
# chown ftp.ftp /home/ftp          # change authority owner as ftp
# /etc/init.d/pure-ftpd restart          # restart daemon



If you want to change the home directory, edit the "/etc/passwd" file.

anonymous user can upload files, but can not delete files.

No comments:

Post a Comment