ubuntu 12.04 vsftpd 安装

安装vsftpd
sudo apt-get install vsftpd

安装后,登陆出现530 Login incorrect

将pam_service_name=vsftpd 修改为  pam_service_name=ftp

出现
500 OOPS: vsftpd: refusing to run with writable root inside chroot()
500 OOPS: priv_sock_get_cmd

参考 
http://www.mikestechblog.com/joomla/operating-systems-section/operating-systems-ubuntu/155-500-oops-vsftpd-refusing-to-run-with-writable-root-inside-chroot.html

增加:allow_writeable_chroot=YES

230 Login successful.

你可能感兴趣的:(ubuntu 12.04)