Newbie School: preparation of vsftpd in Linux system logs

Source: Internet
Author: User
Article Title: newbie School: preparation of vsftpd in Linux system logs. Linux is a technology channel of the IT lab in China. Some basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open-source systems/etc/ftpusers are set to restrict certain users on the system from using FTP to transfer files, /etc/ftphosts is set to prohibit some hosts from connecting to your FTP server, so as to ensure system security.

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.