In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to set Pureftpd.conf. The article is very detailed and has certain reference value. Interested friends must read it!
pure-ftpd.conf settings
* Last time, we copied the default settings file (pure-ftpd.conf) of PureFTPD
The file is located in/usr/local/etc. Actually, I can do anything, but I'm used to it. Recommend copying again
One is called pure-ftpd.xxx.conf(if you want to run multiple ftpd, the xxx part can be from
Replace by the name you want. It's convenient). Start editing pure-ftpd.xxx.conf.
#vim pure-ftpd.xxx.conf (see what editor you prefer. Choose yourself)
####pure-ftpd.xxx.conf#######
ChrootEveryone yes
TrustedGID 50
#Both of these should be used together
BrokenClientsCompatibility no
MaxClientsNumber 999
#*** Number of links
Daemonize yes
#Fork in background
MaxClientsPerIP 5
#Maximum number of links per IP
VerboseLog no
Do you want to log all client commands?
DisplayDotFiles no
#Show the first file
AnonymousOnly no
#Whether to allow anonymous login only
NoAnonymous yes
No anonymous login
SyslogFacility ftp
DontResolve yes
#Do not reverse interpret client IP
MaxIdleTime 5
#*** Idle time
PureDB /ftp/etc/pureftpd.pdb
#DB storage location for user data [since I am using PureFTPD built-in DB. This option is inherent]
UnixAuthentication yes
#If you want to have simple Unix(/etc/passwd) authentication
LimitRecursion 1000 3
#ls lists up to 1000 files. The deepest 3 layers
MaxLoad 4
#When system load exceeds 4. Users will no longer be able to download
AntiWarez no
#Uploaded file cannot be downloaded (owner is ftp). Wait until local admin confirms
Bind 21
#Which IP/port to bind
#Format->; 127.0.0.1 If only write port table All ip,port
Umask 133:022
#Upload file Umask. (;:;)
MinUID 1000
# UID How much does it take to log in
AllowUserFXP yes
No support for FXP
ProhibitDotFilesWrite no
ProhibitDotFilesRead no
#. Can the first file be read and written?
AutoRename no
#Upload files with the same file name automatically renamed (file.1, file.2...)
TrustedIP 10.1.1.1
#Lock IP.
AltLog stats:/ftp/etc/log/pureftpd.log
#Log Storage Location
NoChmod yes
#Do not give permission to Chmod directive
KeepAllFiles yes
#Users can continue. But files cannot be deleted
CreateHomeDir no
#If the user's home does not exist automatically
PIDFile /ftp/etc/log/pure-ftpd.pid
#Record PID file of pure-ftpd
Quota 1000:10
#;
CallUploadScript yes
#Call UploadScript
MaxDiskUsage 99
#How much hard disk usage will stop uploading
NoRename yes
#Do not change the file name
PerUserLimits 3:20
#
That's all for "How to set Pureftpd.conf", thanks for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.