标签:ar os sp for on log ad amp linux
1.config:
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
anon_umask=022
file_open_mode=0644
anon_upload_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
anon_world_readable_only=NO
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
user_config_dir=/etc/vsftpd
pam_service_name=vsftpd.vu
listen=YES
one_process_model=NO
chroot_local_user=YES
guest_enable=YES
guest_username=apache
dual_log_enable=YES
use_localtime=YES
pasv_min_port=40000
pasv_max_port=40999
2.sh
[ -f /etc/vsftpd/vsftpd_login.db ] && rm -f /etc/vsftpd/vsftpd_login.db
db_load -T -t hash -f /etc/vsftpd.logins.txt /etc/vsftpd/vsftpd_login.db
3.vsftpd.logins.txt
name
password
标签:ar os sp for on log ad amp linux
原文地址:http://my.oschina.net/u/242853/blog/349067