Install Vsftpd in Ubuntu-Linux Enterprise Application-Linux server application information. For details, refer to the following section. In fact, the two articles on WIKI are enough to solve the problem, and the first article requires that the configuration has been successfully completed. The problem lies in that the second article cannot be correctly configured, it is estimated that a certain setting is not correct, so I gave up the database-based virtual user configuration solution and switched it to self-built users with permission restrictions. This is really another blow to my database field.
Pay attention to the following points.
1. After Vsftpd is installed, set/etc/vsftpd. after the conf file is backed up, the installation documentation must directly overwrite and modify the file. You must create a specific FTP directory, for example,/home/ftp. in addition, you can configure permissions for the directory to ensure read and write.
Add the user name of the user who needs to use FTP
/Etc/vsftpd. user_list
2. modify the configuration items in/etc/vsftpd. conf,
# Banner_file =/etc/vsftpd/banner
# If NO, the file specified by the chroot_list_file option is recorded (/etc/vsftpd by default. the user in the chroot_list) will be in the directory where the chroot is logged on and cannot leave. if YES, the logged user will not be chroot. select YES here.
Chroot_local_user = NO
To disable anonymous user access, modify the following
# Accepting Anonymous Users
Anonymous_enable = NO
# Do not ask for a password when an anonymous user logs in
No_anon_password = NO
3. To create a virtual user that can only access a specific user under FTP,
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.