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.