配置目录
/usr/local/proftp/etc/proftpd.passwd
配置文件
/usr/local/proftp/etc/proftpd.conf
ServerName "ProFTPD"
ServerType standalone
DefaultServer on
timesGMT off
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
IdentLookups off
UseReverseDNS off
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories.
#<Anonymous ~ftp>
# User ftp
# Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
# UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
# MaxClients 30
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
# DisplayLogin welcome.msg
# Limit WRITE everywhere in the anonymous chroot
# <Limit WRITE>
# DenyAll
# </Limit>
#<Directory /etc>
# <Limit ALL>
# DenyAll
# </Limit>
#</Directory>
#<Directory /lib64>
# <Limit ALL>
# DenyAll
# </Limit>
#</Directory>
#<Directory /lib>
# <Limit ALL>
# DenyAll
# </Limit>
#</Directory>
#<Directory /bin>
# <Limit ALL>
# DenyAll
# </Limit>
#</Directory>
#<Directory /sbin>
# <Limit ALL>
# DenyAll
# </Limit>
#</Directory>
#<Directory /usr>
# <Limit ALL>
# DenyAll
# </Limit>
#</Directory>
#<Directory /var>
# <Limit ALL>
# DenyAll
# </Limit>
#</Directory>
#<Directory /home/*>
# <Limit LIST NLST>
# AllowAll
# </Limit>
#</Directory>
#<Directory />
# <Limit LIST NLST>
# DenyAll
# </Limit>
#</Directory>
#<Directory /opt>
# <Limit LIST NLST>
# DenyAll
# </Limit>
#</Directory>
#<Directory /flash/>
# <Limit LIST NLST>
# AllowAll
# </Limit>
#</Directory>
# <Limit WRITE>
# DenyAll
# </Limit>
#</Anonymous>
AuthOrder mod_auth_file.c
AuthUserFile /usr/local/proftp/etc/proftpd.passwd
RequireValidShell off
命令
ftpasswd --file=/usr/local/proftp/etc/proftpd.passwd --home=/home/work/ftp --shell=/bin/false --name=work --uid=500 --gid=500 --passwd
--home=xxx 指定 ftp 用户登录后的根目录(eg. --home=/home/work)
--name=xxx 指定 ftp 用户名
--uid=500 --gid=500 指定账号关联对应系统用户和组(eg. 99:nobody/500:work 可通过命令 id work查看用户对应uid/gid)
下载
重启FTP服务
service proftpd restart
cd /usr/local/proftp/sbin
./proftpd
<iframe style="display: none !important;" width="320" height="240"></iframe>
<iframe style="display: none !important;" width="320" height="240"></iframe>
相关推荐
FTP的配置及使用,初学者想了解更多FTP相关的知识,可以参考这个文档
FTP配置与实现 Windows环境下.....
CentOS7下的一份完整vsftpd的配置文件。阿里云三台CentOS7.0 linux主机亲测有效。 不过需要单独新建一份文件/vsftpd/chroot_list文件,里面写上允许登录的ftp用户名。
linux下ftp配置
ftp配置,通过Properties动态读取ftp配置
linux系统中ftp配置linux系统中ftp配置linux系统中ftp配置
基于CENTOS系统的FTp配置
linux系统的ftp配置,适用于linux的各个本版
应公司要求 需要搭建一台文件服务器(FTP服务器),要求 开源免费,需要支持断点续传,上传的文件大小至少需要500MB,用户量庞大,需要自动生成用户名和密码,每个用户只能管理自己的文件夹内容等苛刻的要求,这是...
Linux下搭建Telnet和Ftp配置的相关文档。
NULL 博文链接:https://deep-fish.iteye.com/blog/1073980
红旗linux中的ftp配置的方法,很详细的
FTP配置文件
使用JDK1.8、SpringBoot2.2.10.RELEASE、lombok1.18.8、guava23.0、hutool...注意:项目导入后先将Ftp配置更改正确,然后即可启动项目成功。 详情请看:https://blog.csdn.net/u011837804/article/details/123951063
本文档主要说明windows2003环境下IIS自带的FTP配置,其中有详细的截图说明,还不错的
linux FTP配置详解 介绍的非常详细,每一项的描述都有
FTP服务器配置 VSFTP主配置文件路径:/etc/vsftpd/vsftpd.conf,重要参数: anonymous_enable=yes/no 是否允许匿名用户访问 anon_upload_enable=yes/no 是否允许匿名用户上传文件 anon_mkdir_write_enable=yes/no ...
计网FTP配置实验.docx
Win2003系统下FTP配置完全教程,配置隔离用户。
FTP配置/centos