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
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=ftp
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
添加用户
#group add ftpusers
#useradd -d /var/www -g ftpusers -s /sbin/nologin upload
#chown –R upload:ftpusers /var/www
阅读(745) | 评论(0) | 转发(0) |