Vsftp usage problems today we have built vsftp services on the company's centos server. Several problems are found during use. Record: (1) users cannot log on after virtual use is established. After searching online, it is found that the database name in the/etc/pam. d/vsftp file is incorrect. The suffix. db should not be followed by the name. For example, auth required/lib/security/pam_userdb.so db =/etc/vsftpd/virtusersaccount required/lib/security/pam_userdb.so db =/etc/vsftpd/virtusers (2) after the user's write Permission is enabled, it still cannot be written. The error message is ftp> mkdir 123550 Permission denied. www.2cto.com found that selinux should be disabled after searching for information on the Internet. so the tutorial on installing the Internet disabled selinux. First, disable selinux # vi/etc/selinux/config and change it to SELINUX = disabled.
If the system is not restarted, it will take effect # setenforce 0 restart the vsftp service/etc/init. d/vsftpd restart and the problem will be solved. Of course, there may also be other problems that cause the above two problems. If the above method still cannot be solved, check your configuration file or search for it on the network. Author's autumn spinach