Linux VSFTP Configuration

Source: Internet
Author: User

1. rpm-q FTP to see if the FTP server is installed

2. Yum Install vsftp FTP server

3, modify the configuration file/etc/vsftpd the following ftpusers and User_list, these two files in the default user can not access

4. Modify the configuration file vi vsftpd.conf file

Chroot_local_user=yes

Chroot_list_enable=yes

    • Chroot_list_file=/etc/chroot_list

    • 5, through the Windows landing error oops:could not read chroot () List file:/etc/vsftpd/chroot_list

This error is caused by not creating the Chroot_list file, which adds the FTP user that allows access to the file.

vi/etc/vsftpd/chroot_list files, adding users

6, and then restart the service, login FTP error

oops:cannot Change Directory:/home/lph

Oops:priv_sock_get_cmd

This problem is caused by the initial setup of SELinux, so it needs Getsebool-a | grep ftp to view the initial settings and then start the ftp_home_dir

Setsebool Ftp_home_dir 1

Restart the service, login can

Linux VSFTP Configuration

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.