当前位置:网站首页>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 : 全部
边栏推荐
- 网络协议01 - 基础概念
- npm安装nodejs环境配置
- The concept and testing method of black box testing
- 陕西Biotin-LC_CAS:72040-64-3_N-生物素氨基己酸供应商价格
- From installation to compilation: 10 minutes to teach you to use and develop GraphScope locally
- 【Untitled】
- Test Development Engineer Growth Diary 003 - Interface Automation Framework Construction
- A New Paradigm for Distributed Deep Learning Programming: Global Tensor
- how to use xilinx's FFT ip
- 测试开发工程师成长日记009 - 环境排排站:开发环境、测试环境、生产环境、UAT环境、仿真环境
猜你喜欢
GAIA-IR:GraphScope 上的并行化图查询引擎
Test and Development Engineer Growth Diary 009 - Environment Pai Pai Station: Development Environment, Test Environment, Production Environment, UAT Environment, Simulation Environment
05-Theos
陕西Biotin-LC_CAS:72040-64-3_N-生物素氨基己酸供应商价格
prometheus-federation-tls加密
一种新的DNA生物素系统Biotin LC hydrazide|CAS:109276-34-8|(+)-生物素酰胺基己酸肼
用 GraphScope 像 NetworkX 一样做图分析
如何将matlab数据导入modelsim仿真
Test Development Engineer Growth Diary 018 - Record of Required Questions for Test Interview (Continuous Update)
含 3 个单元 PEG 的 ADC linker的PC DBCO-PEG3-Biotin
随机推荐
使用 Helm 部署 GraphScope
替换xxx.jar的class文件命令
Shortcut keys commonly used in the use of Word
openstack删除计算节点
如何将modelsim仿真数据存成文件
陕西Biotin-LC_CAS:72040-64-3_N-生物素氨基己酸供应商价格
mysql常用命令以及mysqldump备份
Mastering JESD204B (3) – Debugging of AD6676
Application of graph computing in network security analysis
删除openstack中的僵尸实例
ThreeJS导入外部obj和mtl
About memcache kernel, so one of the most popular
牛客:删除公共字符
kubernetes搭建SonarQube进行代码扫描
不依赖框架的文件下载
prometheus-federation-tls加密
Azide-SS-biotin|CAS:1620523-64-9|生物素-二硫键-叠氮可降解 (cleavable) 的 ADC linke
使用 Grafana 的 Redis Data Source 插件监控 Redis
软件测试_01
prometheus-tls加密