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

 

 

 

 

 

 

 

 

 

 

 

posted on 2013-02-28 15:03  siszqsqx  阅读(161)  评论(0编辑  收藏  举报

导航