Ubuntu 10.04
Sponsored Link

Install Vsftpd2010/07/22

  Build FTP server to transfer files. Install and configure Vsftpd for it.

[1] Install Vsftpd
root@www05:~#
aptitude -y install vsftpd


root@www05:~#
vi /etc/vsftpd.conf


# line 23: no anonymous

anonymous_enable=NO

# line 26: make sure if the setting below enables

local_enable=YES

# line 29: uncomment (allow writing)

write_enable=YES

# line 97,98: uncomment (allow ascii mode)

ascii_upload_enable=YES
ascii_download_enable=YES

# line 117: uncomment (enable chroot)

chroot_local_user=YES

# line 118: uncomment (enable chroot list)

chroot_list_enable=YES

# line 120: uncomment (specify chroot list)

chroot_list_file=/etc/vsftpd.chroot_list

# line 126: uncomment (enable ls_recurse)

ls_recurse_enable=YES

# add at the bottom: specify chroot's root directory

# if not specify, users' home directory is FTP home directory

local_root=public_html


# use localtime

use_localtime=YES


root@www05:~#
vi /etc/vsftpd.chroot_list


# add users you allow to move over their home directory

lucid


root@www05:~#
service vsftpd restart

vsftpd start/running, process 1040
Matched Content