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.