需要另外写userlist,下面的配置文件可以参考,这是使用云镜像市场的全能java环境装的机。


[root@VM_1_202_centos vsftpd]# cat vsftpd.conf
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# 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 FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# 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 be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#chown_uploads=YES
#chown_username=whoever
#
# The name of log file when xferlog_enable=YES and xferlog_std_format=YES
# WARNING - changing this filename affects /etc/logrotate.d/vsftpd.log
xferlog_file=/var/log/vsftpd.log
#
# Switches between logging into vsftpd_log_file and xferlog_file files.
# NO writes to vsftpd_log_file, YES to xferlog_file
xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that on some FTP servers, ASCII support allows a denial of service
# attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd
# predicted this attack and has always been safe, reporting the size 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 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_local_user=YES
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
#
# When "listen" directive is enabled, vsftpd runs in standalone mode and
# 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 with two configuration files.
# Make sure, that one of the listen options is commented !!
#listen_ipv6=YESpam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
pasv_min_port=30000
pasv_max_port=30010
reverse_lookup_enable=NO

转载于:https://www.cnblogs.com/starmoon1994/p/7425744.html

专业运维配的vsftpd.conf相关推荐

  1. 云计算专业运维工程师所需要的知识技术

    1.熟悉linux基本操作命令.网络基本配置.网络路由及防火墙服务配置. 2.熟悉shell脚本语言,熟悉C.Java.Python其中一种或多种. 3.Linux系统服务网络基础(重点难点TCP/U ...

  2. 堡垒机JumpServer(一):部署运维安全审计系统

    准备最低环境配置:服务器:2核4G,200G硬盘, 64 位 Centos 7 主机:作用:运维与安全,是符合 4A 的专业运维安全审计系统. JumpServer核心功能: 1.jumpserver ...

  3. linux+python高端运维班2017年1月课程及服务全新升级!

    老男孩IT教育是唯一一个和51CTO学院战略合作达到在线开班15期以上(近千名学员)以上的培训机构. 老男孩教育始终坚持以"不能让学员高薪就业的培训机构都是耍流氓"为标准开展教学任 ...

  4. 请大佬们多给运维人员思考和决策的权利

    老男孩想说: 1)请大佬们多给公司的运维人员一些思考.说话和决策的权利,他们一定是最棒的运维. 2)运维部门不光是技术服务部门,更是运维制度.规范及各种运维管理流程的制定部门. 3)多数情况,开发人员 ...

  5. linux mysql运维_Linux运维常用的 MySQL基础命令

    # MySQL基础命令 ------------- ### 创建MySQL库,授权. >create database mysqldb character set utf8; >grant ...

  6. 电费竟然占了数据中心运维总成本的7成?

    作为企业IT运维工作人员,我们最关心的往往是数据中心各项服务是否稳定运行,系统是否安全.然而,数据中心的运维人员.甚至公司领导和业务部门都几乎很少关心数据中心的能耗. 据相关单位统计,中国数据中心的电 ...

  7. 一个颜值低但脾气超好的自动化运维实战入门教程

    注:本教程由廖高祥发布于实验楼,版权归原作者所有. 什么是自动化运维? 自动化运维是指将IT运维中日常的.大量的重复性工作自动化,把过去的手工执行转为自动化操作.自动化运维不单纯是一个维护过程,更是一 ...

  8. Linux运维:现状、入门和未来之路

    今天想谈谈"运维"这一行,我将从以下五个部分来和大家分析一下目前Linux这个行业的现状以及如何学好Linux.成为专业运维人员和云服务对运维的影响. 一.linux行业现状 我们 ...

  9. mysql逻辑读高影响_运维日记| MySQL/Oracle深度解析之一:逻辑读

    前言 THE FIRST 比较数据库优劣.异同的文章有很多了,使用压测工具,进行不同压力下的测试,就能大致上比较出来哪种数据库是"最快"的数据库.但从有经验的数据架构.DBA等专业 ...

最新文章

  1. 一个合格的程序猿编程
  2. 每日一皮:自己运行正常,测试一测就有bug
  3. 2017辽宁冬令营-4.蚂蚁
  4. QCustomPlot使用手册(二)
  5. 易支付系统源码_刷脸支付系统源码,插件源码合作模式有哪些,采购源码需要注意什么...
  6. matlab二维数组最小值出错,矩阵求最小值问题 问题是: 错误使用空矩形矩阵进行赋值...
  7. Android Studio apk 打包流程
  8. vs使用未初始化的内存怎么解决_C语言内存操作陷阱总结
  9. 九、Oracle学习笔记:聚合函数
  10. 读书笔记-《细说PHP》
  11. Firefox Monitor - 在线免费检测邮箱数据是否泄露
  12. 金山打字计算机实验报告,打字实训报告总结(共10篇).docx
  13. 如何优雅的给你的APK文件打上签名
  14. 【飘儿菜】-Matplotlib-绘制饼图
  15. Latex系列(三)---IEEE Tran模板介绍
  16. 收集45个实用的免费LOGO在线制作网站
  17. ClouderaManager介绍、CDH特点、ClouderaManager架构、ClouderaManager功能、Cloudera Management Service
  18. python tensorflow学习笔记(六)最小二乘法
  19. JAVA SE (7)
  20. Java课程大作业设计:实现联网对战、实时聊天、多线程编程的五子棋项目

热门文章

  1. linux pwm测试程序,DM8168 PWM驱动与测试程序
  2. jdbc 连接池 java_JDBC自定义连接池过程详解
  3. python开发工具和框架安装器_Python基础框架和工具
  4. java clone 深拷贝_Java clone() 浅拷贝 深拷贝
  5. android 底边框_Android底表
  6. coalesce函数_什么是SQL Server COALESCE()函数?
  7. Android自动调整TextView的大小
  8. 自定义异常 java_Java自定义异常–用户定义的异常
  9. 怎么让Windows2012和Windows2008多用户同时远程
  10. strtus2 与springmvc