1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
//All of the First Step sudo apt-get install vsftpd || sudo dnf install vsftpd || sudo yum install vsftpd //Second for edit configuration sudo vi /etc/vsftpd.conf The biggest change you need to make is to switch the Anonymous_enable from YES to NO: anonymous_enable=NO local_enable=YES write_enable=YES //For bring all user who login success to the root directory. chroot_local_user=YES //Third to add user Ref: https://www.neverj.com/linux-add-user-set-to-sudo/ And set the right permission for them //Final to kick the source restart XD sudo service vsftpd restart Done. |