#ftpd_banner=Welcome to blah FTP service. #
# You may specify a file of disallowed anonymous e-mail addresses. Apparently # useful for combatting certain DoS attacks. #deny_email_enable=YES # (default follows)
#banned_email_file=/etc/vsftpd/banned_emails #
# You may specify an explicit list of local users to chroot() to their home # directory. If chroot_local_user is YES, then this list becomes a list of # users to NOT chroot(). #chroot_list_enable=YES # (default follows)
#chroot_list_file=/etc/vsftpd/chroot_list #
# You may activate the \# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as \# the presence of the \#ls_recurse_enable=YES #
# When \ # listens on IPv4 sockets. This directive cannot be used in conjunction # with the listen_ipv6 directive. listen=YES #
# This directive enables listening on IPv6 sockets. To listen on IPv4 and IPv6 # sockets, you must run two copies of vsftpd whith two configuration files. # Make sure, that one of the listen options is commented !! #listen_ipv6=YES
pam_service_name=vsftpd userlist_enable=NO tcp_wrappers=YES
五、匿名上传
打开终端,输入“ftp 192.168.1.20”,输入用户名和密码,都是“FTP”, 上传自评文件“201024133110.ods”。
六.建立download,upload,full三个文件夹,并分别授予不同的权限
七.实验完成后的画面如下: