vsftp.conf配置示例
来源:互联网 发布:vue v bind 数组 编辑:程序博客网 时间:2024/04/30 08:50
说明:禁用匿名用户,为系统添加了virtusers用户,文件内容如下:
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This samplefile
# loosens things up a bit, to make the ftp daemon moreusable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpdoptions.
# Please read the vsftpd.conf.5 manual page to get a full idea ofvsftpd's
# capabilities.
#
# Allow anonymous FTP? (Beware - allowed by default if you commentthis out).
anonymous_enable=NO
no_anon_password=YES
#
# Uncomment this to allow local users to log in.
local_enable=YES
local_root=/
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
anon_world_readable_only=no
anon_other_write_enable=yes
#
# Default umask for local users is 077. You may wish to change thisto 022,
# if your users expect that (022 is used by most otherftpd's)
local_umask=022
anon_umask=000
#
# Uncomment this to allow the anonymous FTP user to upload files.This only
# has an effect if the above global write enable is activated.Also, you will
# obviously need to create a directory writable by the FTPuser.
anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able tocreate
# new directories.
anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users whenthey
# go into a certain directory.
dirmessage_enable=YES
#
# The target log file can be vsftpd_log_file or xferlog_file.
# This depends on setting xferlog_std_format parameter
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20(ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to beowned by
# a different user. Note! Using "root" for uploaded files isnot
# recommended!
chown_uploads=no
#chown_username=whoever
#
# The name of log file when xferlog_enable=YES andxferlog_std_format=YES
# WARNING - changing this filename affects/etc/logrotate.d/vsftpd.log
xferlog_file=/var/log/xferlog
#
# Switches between logging into vsftpd_log_file and xferlog_filefiles.
# NO writes to vsftpd_log_file, YES to xferlog_file
xferlog_std_format=YES
#
# You may change the default value for timing out an idlesession.
#idle_session_timeout=600
#
# You may change the default value for timing out a dataconnection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique userwhich the
# ftp server can use as a totally isolated and unprivilegeduser.
nopriv_user=vsftpd
#
# Enable this and the server will recognise asynchronous ABORrequests. Not
# recommended for security (the code is non-trivial). Not enablingit,
# however, may confuse older FTP clients.
async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but infact ignore
# the request. Turn on the below options to have the serveractually do ASCII
# mangling on files when in ASCII mode.
# Beware that on some FTP servers, ASCII support allows a denial ofservice
# attack (DoS) via the command "SIZE /big/file" in ASCII mode.vsftpd
# predicted this attack and has always been safe, reporting thesize of the
# raw file.
# ASCII mangling is a horrible feature of the protocol.
#ascii_upload_enable=YES
#ascii_download_enable=YES
#
# You may fully customise the login banner string:
ftpd_banner=Welcome to 1307FTP service.Please use UTF8 codec!
#
# 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() totheir home
# directory. If chroot_local_user is YES, then this list becomes alist of
# users to NOT chroot().
chroot_local_user=YES
#chroot_list_enable=no
# (default follows)
#chroot_list_file=/etc/vsftpd/chroot_list
#
# You may activate the "-R" option to the builtin ls. This isdisabled by
# default to avoid remote users being able to cause excessive I/Oon 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 forenabling it.
ls_recurse_enable=YES
#
# When "listen" directive is enabled, vsftpd runs in standalonemode and
# listens on IPv4 sockets. This directive cannot be used inconjunction
# with the listen_ipv6 directive.
listen=YES
#
# This directive enables listening on IPv6 sockets. To listen onIPv4 and IPv6
# sockets, you must run two copies of vsftpd whith twoconfiguration files.
# Make sure, that one of the listen options is commented !!
#listen_ipv6=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
guest_enable=yes
guest_username=virtusers
virtual_use_local_privs=YES
user_config_dir=/etc/vsftpd/vconf
#隐藏.XXX的文件与文件夹
hide_file=.*
- vsftp.conf配置示例
- vsftp.conf配置注释
- vsftp的conf配置
- Vsftpd 的vsftp.conf 配置说明
- Vsftpd 的vsftp.conf 配置说明
- vsftp虚拟用户配置示例
- dhcpd.conf文件配置示例
- nginx.conf配置示例讲解
- 11.nginx.conf 配置示例
- vsftp 配置(同vsftpd.conf翻译一起使用)
- vsftp详细配置——/etc/vsftpd/vsftpd.conf
- vsftp.conf 的详细的配置参数说明
- vsftp.conf文件
- vsftp.conf说明
- vsftp.conf 、user_list、ftpusers 配置文件
- 配置vsftp
- vsftp配置
- vsftp配置
- win7 dos命令不识别
- 关闭Win7登录欢迎界面 直接进…
- centos搭建Apache+php+Mysql服务器…
- wordpress数据库搬家
- NSString拼接字符串
- vsftp.conf配置示例
- vsftp虚拟用户配置示例
- VS2010+opencv安装配置
- Qt图形和线程编程快速上手
- U788ROOT及刷机包--移动定制版中兴…
- OpenCV计算二值图像周长面积
- QT实现对文件的操作
- QT图片资源的加载与使用
- svm应用范例,采用svm实现图片的分…