1、安装ftp服务端sudo apt-get install vsftpd
2、解决问题vim /etc/vsftpd.conf 1)ASCII字符问题 打开下面屏蔽: ascii_upload_enable=YES
ascii_download_enable=YES
2)331 Please specify the password. sudo apt-get remove vsftpd
sudo rm /etc/pam.d/vsftpd
sudo apt-get install vsftpd
这是因为ubuntu启用了PAM,所在用到vsftp时需要用到 /etc/pam.d/vsftpd 这个文件 默认源码安装的不会有这个文件),因此除了匿名用户外本地用户无法登录。 所以只要删除了就可以了。
本文介绍如何在Ubuntu系统中安装和配置FTP服务端vsftpd,包括解决ASCII字符问题及处理登录提示331Please specify the password的问题。
2万+

被折叠的 条评论
为什么被折叠?



