Debian 6.0
Sponsored Link

Install Vsftpd - Vsftpd
2011/03/12
  Install Vsftpd to configure FTP server to transfer files.

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


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


# line 23: no anonymous

anonymous_enable=
NO


# line 26: uncomment ( allow local user )

local_enable=YES

# line 29: uncomment( writable )

write_enable=YES

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

ascii_upload_enable=YES
ascii_download_enable=YES

# line 117, 118: uncomment ( enable chroot )

chroot_local_user=YES
chroot_list_enable=YES

# line 120: uncomment ( specify chroot list )

chroot_list_file=/etc/vsftpd.chroot_list

# line 126: uncomment

ls_recurse_enable=YES

# add at the last line

# specify root directory ( if don't specify, users' home directory become FTP home directory)

local_root=public_html


# use localtime

use_localtime=YES


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


# add users you allow to move over their home directory

squeeze


root@www:~#
/etc/init.d/vsftpd restart

Stopping FTP server: vsftpd.
Starting FTP server: vsftpd.
Matched Content
 
Tweet