当前位置:网站首页>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 : 全部
边栏推荐
- I can't hide it, I want to expose the bad things about cloud native
- 测试开发工程师成长日记015 - 最强20道测试面试题
- Deploy GraphScope with Helm
- About memcache kernel, so one of the most popular
- 用 GraphScope 像 NetworkX 一样做图分析
- Redis6的数据类型
- GNNLab: A Novel GNN System Based on Spatial Sharing Ideas
- 多线程基础(多线程内存,安全,通信,线程池和阻塞队列)
- Multithreading basics (multithreaded memory, security, communication, thread pools and blocking queues)
- libgrape-lite on GPUs:GPU助力加速图分析任务
猜你喜欢

prometheus-federation-tls加密

prometheus监控minio

prometheus监控mysql

从 Vertex 到 Subgraph 再到 PIE: 并行图计算编程模型概览

How to create a shortcut without the "shortcut" suffix?

prometheus监控nacos

Biotin-NHS LC(72040-63-2)生物素接头|站点特定探针

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

PC DBCO-PEG3-Biotin|PC-生物素-PEG3-DBCO可用于使用无铜点击化学

含 3 个单元 PEG 的 ADC linker的PC DBCO-PEG3-Biotin
随机推荐
原力计划微服务实战|集中配置中心Config非对称加密与安全管理
Install MySQL under Linux (centos7)
How to save modelsim simulation data as a file
Biotin-C6-amine_N-生物素基-1,6-己二胺_CAS:65953-56-2_100mg
使用 Helm 部署 GraphScope
ThreeJS导入外部obj和mtl
陕西Biotin-LC_CAS:72040-64-3_N-生物素氨基己酸供应商价格
PC DBCO-PEG3-Biotin|PC-生物素-PEG3-DBCO可用于使用无铜点击化学
从 Vertex 到 Subgraph 再到 PIE: 并行图计算编程模型概览
SQL并列排序问题
OP tokens and non-transferable NFTs work to build a new digital democracy
网络协议03 - 路由和NAT
How to import matlab data into modelsim simulation
Cas 80750-24-9,去硫代生物素 N-羟基琥珀酰亚胺,淡黄色固体
Mastering JESD204B (3) – Debugging of AD6676
SE_01
GadgetInspector principle analysis
为数字政府构建智能化网络安全管控体系
prometheus-tls加密
GAIA-IR:GraphScope 上的并行化图查询引擎