VSFTPD Multi-User login to the corresponding directory method

Source: Internet
Author: User
Tags error code ftp ftp login log log

At the beginning put on the vsftpd.conf file in the corresponding meaning of each variable link lhq9220 reprint of the other person's link, because is inside the station, so add his network link address http://blog.csdn.net/lhq9220/article/details /6544755

Here's my personal situation.

Configuration of the first vsftpd.conf file:

Anonymous_enable=no

Local_enable=yes

Write_enable=yes

Dirmessage_enable=yes

Xferlog_enable=yes

Connect_from_port_20=yes

idle_session_timeout=600

data_connection_timeout=120

Ftpd_banner=welcome to VVS ftp!

Chroot_list_enable=yes

Chroot_list_file=/etc/vsftpd.chroot_list

Listen=yes
Userlist_enable=yes
Userlist_deny=yes
Userlist_file=/etc/vsftpd.denyuser
Chroot_local_user=no

Second add users and passwords using the ADDUSER directive

Third Create/usr/share/empty directory

The user name in the IV/etc/vsftpd.chroot_list file that adds the second step is a separate row

Fifth/etc/vsftpd.denyuser Write root (note root does not allow FTP login, because root user permissions are too large to prevent accidental deletion)

Sixth (important) Create/var/log/vsftdp.log log file


Seventh if you encounter other problems, use the FileZilla software to log in to the FTP service, review the error code, continue to resolve.

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.