Home | Mirror | Search |
目录
yum install -y vsftpd adduser --home-dir /www/logs/ --shell /sbin/nologin logs echo logs >> /etc/vsftpd/chroot_list vim /etc/vsftpd/vsftpd.conf <<VIM > /dev/null 2>&1 :%s/#chroot_list_enable=YES/chroot_list_enable=YES/ :%s/#chroot_list_file/chroot_list_file/ VIM chkconfig vsftpd on service vsftpd start
adduser -o --home /www --shell /sbin/nologin --uid 99 --gid 99 --group nobody www echo "www:chen" | chpasswd echo www > /etc/vsftpd/chroot_list ncftp ftp://www:chen@172.16.0.1