Centos6 VSFTP server configuration tutorial

Source: Internet
Author: User

Centos 6 VSFTP
 
Disable SELinux and enter

Vi/etc/selinux/config

SELINUX = enforcing changed to SELINUX = disabled

Disable selinux and enter

Setenforce 0

You can temporarily grant the root permission to transfer data.

Vi/etc/vsftpd/user_list

# Root

Service vsftpd restart
 
VSFTP


Installer

Yum-y install vsftpd

Modify settings

Vi/etc/vsftpd. conf

Restrict users from leaving the home directory. Only users in the chroot_list list can leave the home directory (for managers)

Anonymous_enable = NO

Chroot_list_enable = YES
Chroot_list_file =/etc/vsftpd/chroot_list

# Add the following line bKjia. c0m to the end of the file

Chroot_local_user = YES

Remember to add an external archive chroot_list to the Administrator list.

Vi/etc/vsftpd/chroot_list

Admin, user1

Service vsftpd restart

Allows users to upload files in the archive manager mode.

Vi/etc/vsftpd. conf

Connect_from_port_20 = NO
Pasv_enable = YES

Note: IE7 cannot use the FTP function, but it can use the archive manager method to overcome the problem, so that teachers and students can conveniently submit assignments.

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.