未加星标

Linux服务器---ftp配置

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二04 | 时间 2018 | 作者 红领巾 ] 0人收藏点击收藏

vsftpd 的其他设置,这里列出来

# Example config file /etc/vsftpd/vsftpd.conf

# Allow anonymous FTP? (Beware - allowed by default if you comment this out).

anonymous_enable=YES//是否允许匿名登录

#

# 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//是否允许获取目录信息

# 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

# 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//数据请求超时

# 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//是否允许ls命令使用-R参数,递归

# 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// 是否允许指定的用户切换目录,用户名单在 /etc/vsftpd/chroot_list 文件中

# (default follows)

# chroot_list_file=/etc/vsftpd/chroot_list// 这个文件中的用户不能切换目录

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

代码区博客精选文章
分页:12
转载请注明
本文标题:Linux服务器---ftp配置
本站链接:https://www.codesec.net/view/621264.html


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(55)