# 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 "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients sUCh as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#ls_recurse_enable=YES
chroot_local_user=YES
listen_port=2121
listen=yes
guest_enable=YES
guest_username=virtual
pasv_min_port=30000
pasv_max_port=30999
pam_service_name=ftp.vu
anon_world_readable_only=NO
user_config_dir=/etc/vsftpd_user_conf[/quote:93f3c4a2db]
2.我的/etc/vsftpd_user_conf/download的内容
[quote:93f3c4a2db]anon_world_readable_only=NO[/quote:93f3c4a2db]
3.我的/etc/vsftpd_user_conf/upload的内容
[quote:93f3c4a2db]anon_world_readable_only=NO
write_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES[/quote:93f3c4a2db]
4.我的/etc/vsftpd_user_conf/admin的内容
[quote:93f3c4a2db]anon_world_readable_only=NO
write_enable=YES
anon_upload_enable=YES
anon_other_write_enable=YES
anon_mkdir_write_enable=YES[/quote:93f3c4a2db]
【三 用tar包配置高可用性vsftp】5.自启动脚本,在/etc/rc.local中加入/usr/local/sbin/vsftpd /etc/vsftpd.conf &
推荐阅读
- qq同步怎么转移照片
- 一 用tar包配置高可用性vsftp
- 按键精灵安卓版找图 按键精灵安卓版找图使用技巧
- 三大抽样分布怎么理解 三大抽样分布是什么
- 动作识别多媒体手机 CECT V958试用手记
- 怎么登录微信新用户
- CAD拉伸快捷键S怎么用
- Motorola KRZR K1使用感受
- 华为mate20pro中卸载应用的具体操作方法
- 0时15分用24时计时法表示