RHEL6.4 build FTP server

  
        For security reasons, FTP on the server generally requires: Disable anonymous user login, only allow local account login. Ban normal account in your own home directory. Set up normal account login access /data/ftp. Limit normal account download speed to 150KB/s. Server (192.168.100.1) installation package [root@ftp-server ~]# rpm -q vsftpd vsftpd-2.2.2-11.el6.x86_64 2. Modify the main configuration file [root@ftp-server ~]# vim /Etc/vsftpd/vsftpd 12 anonymous_enable=NO //Disable anonymous user login …… 120 chroot_local_user=YES //Do not allow ordinary accounts in their own home directory 121 local_root=/data/ftp //Set the home directory /data/ftp 122 Local_max_rate=150000 //Restrict the download speed of the normal account 150KB/s 3.Create the host directory and entity test account [root@ftp-server ~]# useradd obama [root@ftp-server ~]# echo "123456"
Copyright © Windows knowledge All Rights Reserved