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. Search online and find the database name in the/etc/pam. d/vsftp file...
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
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