configure ftp on ubuntu12.10

1: install vsftpd.

apt-get install vsftpd

2:configure /etc/vsftpd.conf

vi /etc/vsftpd.conf

uncomment below statement

#local_enable=YES

#write_enable=YES

3:after configuration in step 2,directory /srv/ftp and a usergroup named ftp was added automatically by the system  cat /etc/shadow|grep ftp

4:useradd&password

useradd -g ftpgroup -d /home/benson/ -M ftpuser

passwd ftpuser

5: chmod /home/benson

chmod 777 /home/benson

6:start vsftpd

service vsftpd restart or /etc/init.d/vsftpd start

7:now you can use the ftp client in windows such as 8uFTP

原文地址:https://www.cnblogs.com/hshuzhao/p/2936929.html