Fedora 12
Sponsored Link

Install Vsftpd2010/06/13

[1] Build FTP server to transfer files. Install and configure Vsftpd for it.
[root@www1 ~]#
yum -y install vsftpd


[root@www1 ~]#
vi /etc/vsftpd/vsftpd.conf


# line 12: no anonymous

anonymous_enable=
NO


# line 15: uncomment

local_enable=YES

# line 18: uncomment

write_enable=YES

# line 80,81: uncomment ( allow ascii mode )

ascii_upload_enable=YES
ascii_download_enable=YES

# line 95,96: uncomment ( enable chroot )

chroot_local_user=YES
chroot_list_enable=YES

# line 98: uncomment ( specify chroot list )

chroot_list_file=/etc/vsftpd/chroot_list

# line 104: uncomment

ls_recurse_enable=YES

# add at the bottom: specify root directory ( if don't specify, users' home directory become FTP home directory)

local_root=public_html

use_localtime=YES


[root@www1 ~]#
vi /etc/vsftpd/chroot_list


# add users you allow to move over their home directory

fedora


[root@www1 ~]#
/etc/rc.d/init.d/vsftpd start

[root@www1 ~]#
chkconfig vsftpd on
Matched Content