- 论坛徽章:
- 0
|
这是我的配制文件
#
# 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
#pam_service_name=vsftpd
userlist_enable=YES
#enable for standalone mode
listen=YES
#tcp_wrappers=YES
pasv_enable=YES
pasv_min_port=40000
pasv_max_port=40080
pasv_promiscuous=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
listen_port=21
local_root=/var/ftp
pam_service_name=/etc/pam.d/vsftpd
guest_enable=YES
guest_username=virtual
virtual_use_local_privs=YES
user_config_dir=/etc/vsftpd/vsftpd_user_conf
chroot_local_user=YES
local_umask=033 |
|