Linux2013.11.17 15:03

Pure-ftpd install and setup at Ubuntu

 

# sudo -i                                                                                    # super user

# 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.


'Linux' 카테고리의 다른 글

Using Cisco Anyconnect on Ubuntu  (0) 2014.04.19
Ubuntu NTP Server Configuration Example  (0) 2014.04.06
Pure-ftpd install and setup at Ubuntu  (0) 2013.11.17
XRDP at Ubuntu  (0) 2013.11.17
Caution command at Ubuntu  (0) 2013.11.17
BIND9 DNS Server setup at Ubuntu  (0) 2013.11.17
Posted by Gomeisa
TAG , ,

댓글을 달아 주세요