In Linux, how does one implement anonymous FTP user access? The detailed process is as follows: 1. Description 1. configuration file:/etc/vsftpd. conf2, default anonymous user: more/etc/passwdftp: x: 14: 50: FTPUser:/var/ftp: /sbin/nologin 2. For example, the system uses anonymous FTP users to log on to the FTP directory and only grant the download permission. The FTP directory specifies/home/ftp1 and modifies the configuration file.
In Linux, how does one implement anonymous FTP user access? The detailed process is described below:
I. Description
1. configuration file:
/Etc/vsftpd. conf
2. Anonymous users by default:
More/etc/passwd
Ftp: x: 14: 50: FTP User:/var/ftp:/sbin/nologin
Ii. Example
Log on to the FTP directory as an anonymous user in the system and grant only the download permission. The FTP directory is specified to/home/FTP.
1. modify the configuration file
# Vi/etc/vsftpd. conf
Local_enable = NO
Connect_from_port_20 = YES
Listen = YES
Listen_port = 21
Tcp_wrappers = YES
Anonymous_enable = YES
Ftp_username = ftp
No_anon_password = YES
Anon_root =/home/ftp
Anon_world_readable_only = YES
2. Restart the ftp service.
# Service vsftpd restart
3. If 421 Service not available or remote server has closed connection error occurs
Vi/etc/hosts. allow
Add:
Vsftpd: ALL