SLES 11 SP4
Sponsored Link

FTP Server : Install Vsftpd2015/12/03

 
Install Vsftpd to configure FTP Server.
[1] Install and Configure Vsftpd.
www:~ #
zypper -n install vsftpd
www:~ #
vi /etc/vsftpd.conf
# line 18: uncomment

write_enable=YES
# line 39: uncomment

ls_recurse_enable=YES
# line 59: uncomment

local_enable=YES
# line 69,75: uncomment ( enable chroot )

chroot_local_user=YES
chroot_list_enable=YES
# line 79: uncomment ( chroot list file )

chroot_list_file=/etc/vsftpd.chroot_list
# line 91: no anonymous

anonymous_enable=
NO
# line 200,201: uncomment ( allow ascii mode )

ascii_upload_enable=YES
ascii_download_enable=YES
# add follows to the end

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

local_root=public_html
# use local time

use_localtime=YES
www:~ #
vi /etc/vsftpd.chroot_list
# add users you allow to move over their home directory

suse
www:~ #
/etc/init.d/vsftpd start

www:~ #
chkconfig vsftpd on

Matched Content