标签:
apt-get install vsftpd
/etc/vsftpd.conf配置Example
listen=YES anonymous_enable=NO local_enable=YES write_enable=YES dirmessage_enable=YES use_localtime=YES xferlog_enable=YES connect_from_port_20=YES ftpd_banner=Welcome to linuxidc‘s FTP service. chroot_list_enable=YES chroot_list_file=/etc/vsftpd.chroot_list secure_chroot_dir=/var/run/vsftpd/empty pam_service_name=vsftpd rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key local_root=/home/linuxidc/
adduser rui --home /home/linuxidc/
必须 有个系统用户是这个主目录,不然 报错
adduser
标签:
原文地址:http://www.cnblogs.com/ruiy/p/5130075.html