In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about how to anonymize users in Proftpd configuration. Many people may not know much about it. In order to let everyone know more, Xiaobian summarized the following contents for everyone. I hope everyone can gain something according to this article.
ProFTPD is the most popular FTP server software after Wu-FTP. To use Proftpd, we have to learn his usual configuration.
The root directory of anonymous is/var/ftp.
anonymous The PID obtained after logging in is ftp:ftp on Linux;
When anonymous logs in to FTP, FTP software displays some welcome messages on the Client side;
Allow up to 30 anonymous logins;
Limit upload/download speeds to 100Kbytes/s and 50 Kbytes/s;
The requested URL/var/ftp/was not found on this server.
In/var/ftp/upload, you can only write, not download, and after the user enters this directory, some relevant information is displayed;
Create a basic profile:
# vi /usr/local/proftpd/etc/proftpd.conf
#Settings for hosts and physical users
ServerName "Proftp host for testing"
ServerType standalone
DefaultServer on
Port 21
User nobody
Group nobody
TimesGMT off #GMT time is Greenwich Mean Time, because local time is used, so set to off
MaxInstances 50 #Up to 50 PID of prftpd
MaxClients 100 "Sorry, we're full" #Up to 100 users allowed online
MaxClientsPerHost 5 #Up to 5 FTP connections on the same host
AllowStoreRestart on #Allow user uploads to resume! The default is off.
PassivePorts 65400 65420
Anonymous's settings
#PID permission owner for creating Anonymous under Linux
User ftp
Group ftp
UserAlias anonymous ftp
UserAlias nogoodbird ftp
#Create a message for anonymous to watch!
DisplayLogin welcome.msg
DisplayFirstChdir .message
MaxClients 30 "Anonymous logins are saturated! "
#This is important! To limit the transmission rate! The basic syntax is:
# TransferRate (STOR| RETR) Speed (Kbytes/s) user
# STOR means upload and RETR means download! Speed is Kbytes/second!
TransferRate STOR 100 user anonymous,ftp #in KBytes/second
TransferRate RETR 50 user anonymous,ftp
Denyall
#This one is only related to upload this directory and its subdirectories!
Denyall
Allowall
Create a welcome screen:
Note: If anonymous root is at/var/ftp, welcome.msg must be placed at/var/ftp/welcome.msg
# vi /var/ftp/welcome.msg
Welcome! This is a test FTP site!
My Host: %L
Current time: %T
*** Online: %M
Currently online: %N
Your host: %R
Your account number: %U
Current directory: %C
Establish special precautions:
The requested URL/var/ftp/was not found on this server.
# vi /var/ftp/upload/.message
This directory can only be uploaded, not downloaded,
Your identity is anonymous!
Create upload permissions:
# chown ftp:ftp /var/ftp/upload
# chmod 755 /var/ftp/upload
Restart!
# service proftpd restart
Through the description of the article, I think everyone knows the common configuration of proftpd: anonymous users
After reading the above, do you know more about how anonymous users are in Proftpd configuration? If you still want to know more knowledge or related content, please pay attention to the industry information channel, thank you for your support.
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.