vsftp相关配置文件

1.sudo gedit /etc/init.d/rc.local #! /bin/sh mount –bind /media/sda5/software/ /home/ftp/winsoft mount –bind /media/sda6/music/ /home/ftp/music/ mount –bind /media/sda6/movies/ /home/ftp/movies/ mount –bind /media/sda7/linux/ /home/ftp/linux/ mount –bind /media/sda7/games/ /home/ftp/games/ mount –bind /media/sda6/var/ /home/ftp/var/ PATH=/sbin:/bin:/usr/sbin:/usr/bin [ -f /etc/default/rcS ] && . /etc/default/rcS . /lib/lsb/init-functions do_start() { if [ -x /etc/rc.local ]; then log_begin_msg “Running local boot scripts (/etc/rc.local)” /etc/rc.local log_end_msg […]

我的VSFTP配置文件讲解(附配置文件)

# Example config file /etc/vsftpd.conf listen=YES #listen_ipv6=YES # # Allow anonymous FTP? (Beware – allowed by default if you comment this out). anonymous_enable=YES #anon_root=/home/ftp#匿名用户登录时目录,默认为/home/ftp local_enable=YES #是否启用本地用户 #local_root=/home/ftp #本地用户登录时目录 #write_enable=YES #是否允许本地用户写 #local_umask=022 #anon_upload_enable=YES #是否允许匿名用户上传 #anon_mkdir_write_enable=YES #是否允许匿名用户新建目录 #dirmessage_enable=YES #是否允许改变目录时显示目录下.message中的内容 # # Activate logging of uploads/downloads. xferlog_enable=YES # # Make sure PORT transfer connections originate from port 20 […]