当前位置:网站首页>Proftpd配置文件
Proftpd配置文件
2022-07-30 05:49:00 【大大大大小小】
3. Proftpd配置文件
配置文件:/etc/proftpd/proftpd.conf
#配置服务器名
ServerName ""blog.fens.me FTP Server"
#设置服务器运行模式,独立服务,或者被监管
ServerType standalone
#设置为默认服务器
DefaultServer on
#设置服务器进程运行使用的用户
User proftpd
#设置服务器进程运行使用的组
Group nogroup
#设置关闭IPv6支持
UseIPv6 off
#设置服务器接受请求的端口
Port 21
#设置被动模式使用的端口范围
PassivePorts 60000 65535
#设置用户上传文件的权限掩码
Umask 022
#设置用户被chroot锁定到的各自的Home目录
DefaultRoot /ftp
#关闭欢迎信息显示
DeferWelcome off
#如果显示欢迎信息,则指定显示的文件
DisplayLogin welcome.msg
#指定切换文件夹时,显示的欢迎信息
DisplayChdir .message
#设置日志
SystemLog /var/log/proftp.log
TransferLog /var/log/proftp-transfer.log
#限定操作
<Limit SITE_CHMOD>
DenyAll
</Limit>
#设置匿名用户资源
<Anonymous "/ftp/c">
...
</Anonymous>
#配置存储目录权限
<Directory "/ftp/a/" >
<Limit ALL>
AllowUser x
AllowUser a1
DenyAll
</Limit>
<Limit CWD READ RETR DIRS>
AllowAll
</Limit>
</Directory>
Limit权限说明:
- CWD : Change Working Directory 进入该目录
- MKD : Make Directory 创建目录
- RNFR : Rename from 更名
- DELE : Delete 删除文件
- RMD : Remove Directory 删除目录
- READ : 可读
- WRITE: 可写
- STOR : 可上传
- RETR : 可下载
- DIRS : 允许列出目录
- LOGIN: 允许登录
- ALL : 全部
边栏推荐
- GAIA-IR:GraphScope 上的并行化图查询引擎
- com.alibaba.datax.common.exception.DataXException: Code:[ESWriter-03]
- MongoDB-介绍,数据类型,基本语句
- 图扑数字孪生北京故宫,推进旅游业元宇宙进程
- 网络协议03 - 路由和NAT
- Shortcut keys commonly used in the use of Word
- 多线程进阶(CountDownLatch,死锁,线程安全集合类)
- rsync使用方法之坑
- 不依赖框架的文件下载
- ParseException line 8:13 mismatched input ‘(‘ expecting ) near ‘int‘ in create table statement
猜你喜欢

网络协议03 - 路由和NAT

D-Desthiobiotin Amine_D-脱硫生物素-胺相关的产品性质

基于精灵(Sprite)管道烟雾流动效果

图计算101:图计算的类型、语言与系统

05-Theos

Vineyard: 开源分布式内存数据管理框架

Application of graph computing in network security analysis

libgrape-lite on GPUs: GPU helps accelerate graph analysis tasks

OP tokens and non-transferable NFTs work to build a new digital democracy

Biotin-PEG4-SS-Alkyne_1260247-54-8_生物素-PEG4-SS-炔烃
随机推荐
测开基础知识01
wsl2设置静态ip(固定ip)static ip
Biotin-NH2|CAS:111790-37-5(生物素-氨基)是一种生物素化化合物
Vineyard: 开源分布式内存数据管理框架
flask项目快速搭建部署gunicorn+supervisor
com.alibaba.datax.common.exception.DataXException: Code:[ESWriter-03]
About memcache kernel, so one of the most popular
I can't hide it, I want to expose the bad things about cloud native
Alamofire源码分析 - POST请求
删除openstack中的僵尸实例
Biotin-SS-NHS ester|生物素-二硫键-活性酯|CAS:122266-55-1具有良好的水溶性
Waterfall flow (custom layout implementation)
Graph analysis like NetworkX with GraphScope
D-Desthiobiotin Amine_D-脱硫生物素-胺相关的产品性质
藏不住了,我要揭露云原生的那些不好
OP 代币和不可转让的 NFT 致力于建立新的数字民主
多线程进阶(CountDownLatch,死锁,线程安全集合类)
牛客:删除公共字符
从 Vertex 到 Subgraph 再到 PIE: 并行图计算编程模型概览
Network Protocol 03 - Routing and NAT