- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
linux打开ftp功能的方法(Methods Linux open FTP function)
linux打开ftp功能的方法(Methods Linux open FTP function)
You can install the VSFTP server of its own, very good use, the specific configuration is as follows:
A basic
The 1. configuration files in /etc/vsftpd/vsftpd.conf
/etc/vsftpd.ftpusers
/etc/vsftpd.user_list
2. background process: vsftpd
3. The use of 21. 20 port
21 for control, 20 for data transmission
4. Journal:
/var/log/vsftpd.log xferlog
Only record data
5. The ftpcount ftpwho tool, little effect.
Two, configuration parameters
1. Allow anonymous login
# Allow anonymous FTP?
Anonymous_enable=no
2. Login timeout control
May change the default # You value for timing out an idle session.
Idle_session_timeout=600
3. Data transmission timeout control
May change the default # You value for timing out a data connection.
#data_connection_timeout=120
4. Custom welcome message
You may fully customise the login # banner string:
Ftpd_banner=Welcome to youhongyu FTP service.
Three, access control key configuration method
1. Modify the vsftpd.conf (* * * * chroot****)
Chroot_list_enable=YES
Chroot_list_file=/etc/vsftpd.chroot_list (if not, you need to create)
/etc/vsftpd.chroot_list user is not a chroot user, the user only in their own directory (/home)
2. The access control of user files
/etc/vsftpd.ftpusers
All in the file users are unable to access the ftp,
But to introduce the following is different when you visit, but not at 530 Permission denied. at 530 Login incorrect.
3. The access control of user files (note the need vsftpd.conf configuration to fit)
/etc/vsftpd.user_list
Remember: to make this file function userlist_enable=yes must be configured otherwise ineffective (default is open)
So when userlist_enable=yes, userlist_deny=yes (/etc/vsftpd.user_list in the need to manually add) users can not access FTP
When userlist_enable=yes, userlist_deny=no (the need to manually add) is only /etc/vsftpd.user_list users can access FTP
2, and 3 if it comes to the same user to or the principle of application, as long as there is a
您可能关注的文档
- dedeampz搭建(Built in dedeampz).doc
- delphi中format函数功能及用法详解_静静地陪你走了好远好远文库(The Delphi format function and usage _ quietly accompany you go so far from).doc
- delphi中format函数功能及用法详解_静静地陪你走了好远好远(The Delphi format function and usage _ quietly accompany you go so far.).doc
- delphi中的windows消息处理机制(Windows message handling mechanism in Delphi).doc
- der(der).doc
- dfsdee(dfsdee).doc
- dianzi(店子).doc
- dir 命令的格式(The format of the dir command).doc
- differentpsychologicalresponsestocurricularandextracurricula(differentpsychologicalresponsestocurricularandextracurricula).doc
- discuz!代码,论坛代码,论坛个性签名代码全集(Discuz! Code, code forum, forum signature codes).doc
- linux教程 第5章(The fifth chapter Linux tutorial).doc
- linux下arm汇编语法(Linux arm assembler syntax).doc
- linux教程(第2版)[孟庆昌等编著][电子教案]第5章(Linux tutorial (Second Edition) [Meng Qingchang et al []] the fifth chapter of electronic teaching plan).doc
- linux教程(第二章)(Linux tutorial (chapter second)).doc
- linux教程课程设计(Linux tutorial course design).doc
- linux环境变量的设置和查看方法(The Linux environment variable settings and view method).doc
- linux系统下c语言编程基础知识介绍文库(Introduction of the Linux system under the C programming language based on knowledge library).doc
- linux系统下c语言编程基础知识介绍(The Linux system introduces the basics of C programming language).doc
- linux系统中打开文件数量的查看方法(Check the number of files open method in Linux system).doc
- linux高级编程笔记(Advanced Linux Programming Notes).doc
文档评论(0)