Preparation of vsftpd for Linux learning logs

Source: Internet
Author: User
The preparation of vsftpd in Linux learning logs-Linux Enterprise Application-Linux server application information. For details, refer to the following section. The setting of/etc/ftpusers is to restrict certain users on the system from using FTP to transfer files. The setting of/etc/ftphosts is to prohibit some hosts from connecting to your FTP server, this is done to ensure the security of the system.

The content of/etc/ftpusers is as follows:

Root
Bin
Daemon
Adm
Lp
Sync
Shutdown
Halt
Mail
News
Uucp
Operator
Games
Nobody

The purpose of limiting these users to access the FTP server is to ensure system security. For example, to prevent users with excessive permissions (root) from logging on to the FTP server. Among these usernames, you may be surprised to have users such as mail, halt, and sync. This is to prevent users with the same name as the command name from accessing the FTP server.

To enable ftp, you only need to block "root" and "noboby ".

Possible problems in the actual process:
1. local_enable =? In the vsftpd. conf file? . If YES is selected, the local user has the permission. If NO is selected, and anonymous_enable = YES, only anonymous users are allowed.

2. About/var/ftp/pub directory permissions. The permission should include at least drwxr-r-x.

3. The list in vsftpd. ftpusers and vsftpd. user_list should be consistent.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.