In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how the suse linux 10 ftp service configuration is. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have some understanding of the relevant knowledge after reading this article.
It is relatively convenient to install and configure FTP on SUSE linux 10, as follows:
1. First check whether there is a VSFTPD package.
# rpm-qa | grep vsftpd
If not, you can download it from the Internet or use SUSE's system installation disk to retrieve the installation.
Using Suse's software manager, open Yast,Software → Software Management
In Filter → Package Groups, in the tree list below, Productivity → Networking → Ftp, you can also expand the Ftp node and select the Servers node; select vsftpd in the list of software packages on the left, and then click the Accept button below to prompt you to insert the CD; after inserting the required CD, the system will automatically start the installation, and after the installation is complete, you can view all vsftpd-related files in the File List option page below.
2. Start the VSFTPD service
After installation, vsftpd is started as a stand-alone service and is not managed by xinetd. A service with the name vsftpd is automatically added to the Service list. The steps to start the service are as follows: Yast → System → System Services (Run level)
Select vsftpd from the list of services, click the Enable button below, and start the service, Finish.
Note: when starting vsftpd, it may not start, sometimes because the service it depends on is not started, such as syslog, select syslog and click the Enable button. If it still fails to start, you can restart the xinetd service and then start the vsftpd service. 3. Configuration file modification
There are three server modes for vsftpd: anonymous, local and virtual user. The configuration file for vsftpd is located in the / etc/ directory and is named vsftpd.conf. Here are some changes that need to be made:
Remove the # before local_enable=YES to make it available, which means local users are allowed to log in; add listen_port=21 configuration item, and set the listening port to 21; this step is optional, do not allow anonymous users to log in, change the value of anonymous_enable=YES to NO, and set it according to the actual needs.
Restrict local user access to the file system
Chroot_local_user=YES limits the browsing of local users to its FTP root directory. After FTP users log in, generally under the HOME user directory, you need to set the ownership and permissions of the directory through CHOWN, so that files or directories can be uploaded and created, and other directories and files can be downloaded normally.
Restart the vsftpd service: service vsftpd restart. Or / etc/init.d/vsftpd restart, after testing, log in with the local user userl and its password, and successfully restrict some users from accessing the file system
Chroot_list_enable=YES enable list (cannot be opened at the same time as the previous command)
Chroot_list_file=%file path% restricts the user's list file
Connection limit
Maximum number of Max_client=%number% connections
Maximum number of connections per ip for max_per_ip=%number%
Anon_max_rate=%number% anonymous user maximum rate unit kbps
Local_max_rate=%number% maximum local user rate unit kbps
Note: other machines cannot connect to the service
User home directory qualification:
The home directory of the local user is defined in the / etc/passwd file
Modifications in the configuration file:
Globally redirect the ftp home directory of localuser
Local_root=%path%
Security settin
Hide_ids=YES hides users' UID and GID
Create a home directory for ftp2
# mkdir / var/ftp2
# useradd-d / var/ftp2-M FTP2
# service vsftpd restart
So much for sharing about the configuration of suse linux 10 ftp services. I hope the above can help you and learn more. If you think the article is good, you can share it for more people to see.
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.