admin

centos下安装ftpserver
sftp速度实在是悲催,还是装个ftp<!--more--> yum -y install vsftp...
扫描右侧二维码阅读全文
18
2017/08

centos下安装ftpserver

sftp速度实在是悲催,还是装个ftp<!--more-->

yum -y install vsftpd
chkconfig vsftpd on

vi /etc/vsftpd/vsftpd.conf

chroot_list_enable=YES

(default follows)

chroot_list_file=/etc/vsftpd.chroot_list

改为
chroot_list_enable=YES

(default follows)

chroot_list_file=/etc/vsftpd/chroot_list

useradd -d /home/wwwroot/ftpuser -g ftp -s /sbin/nologin ftpuser

passwd ftpuser

vi /etc/vsftpd/chroot_list

service vsftpd restart

Last modification:October 16th, 2018 at 03:01 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment

captcha
请输入验证码