In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the vsFTPd server how to achieve anonymous upload and download, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to know about it.
First we need to modify the vsftpd.conf, which is located in the / etc/ directory, which may be / etc/vsftpd.conf or / etc/vsftpd/vsftpd.conf file. Subject to your system environment
First of all: we need to change the vsftpd.conf to make sure there are the following lines
Anonymous_enable=YES
Anon_upload_enable=YES
Anon_mkdir_write_enable=YES
Anon_umask=022
Second: create a folder under the ftp user's home directory and change its permissions to fully open
Where is the home directory of ftp users? As we said earlier, check it through / etc/passwd; you can also check it through finger ftp.
[root@localhost beinan] # finger ftp
Login: ftp Name: FTP User
Directory: / var/ftp Shell: / sbin/nologin
This means that the ftp user's home directory is in / var/ftp. We need to create a directory under this directory, and then set his permissions to any user who can read, write and execute. In general, in the distribution, there is a directory for / var/ftp/pub. If not, you can also create one yourself. After changing the configuration file, you can upload and download anonymously as long as you open the permissions of any directory under / var/ftp.
For example, if you want anonymous users to upload and download both in / var/ftp/pub, you can open the permission of / var/ftp/pub. If you do not have this directory, you need to create one yourself.
[root@localhost ~] # mkdir / var/ftp/pub
[root@localhost ~] # chmod 777 / var/ftp/pub
In this way, when uploading to the pub directory, it will be OK.
Thank you for reading this article carefully. I hope the article "how to upload and download vsFTPd Server anonymously" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.