jinfeng_wang

G-G-S,D-D-U!

BlogJava 首页 新随笔 联系 聚合 管理
  400 Posts :: 0 Stories :: 296 Comments :: 0 Trackbacks
1) install the vsftpd:  sudo apt-get install vsftpd

2) try to start the ftp server: sudo /etc/init.d/vsftpd start

3) config the conf file as the following: sudo vi /etc/vsftpd.conf
#anonymous_enable=YES
local_enable=YES
write_enable=YES

4) restart the server: sudo /etc/init.d/vsftpd restart

5) use the ftp client and try to login the ftp server withe the Ubuntu Server's account.

6) specify an explicit list of local users to chroot() to their home directory, please edit the conf file again:
       chroot_list_enable=YES
       chroot_list_file=/etc/vsftpd.chroot_list

7)edit the /etc/vsftpd.chroot_list.

8) restrat the ftp server.

posted on 2009-05-17 00:05 jinfeng_wang 阅读(525) 评论(0)  编辑  收藏 所属分类: Linux

只有注册用户登录后才能发表评论。


网站导航: