VSFTPD Restart command service vsftpd start|restart|stop
VSFTPD about permission control, there are two files set separately, will work
/etc/vsftpd/user_list
/etc/vsftpd/ftpusers
If one of the users of the system is forbidden to access the FTP service, the user's name can be listed in the above two files.
Such users also have access to the Linux system, if the user can also be deleted directly to achieve the purpose, but the user at the same time
You can't log on to a Linux system.
When ordinary users connect vsftpd with clients, they can access some sensitive directories to restrict the access of ordinary users to their home directory/home/username, and not allow access to directories outside the home directory.
Edit the/etc/vsftpd/vsftpd.conf file to remove the two lines of code comments
#chroot_list_enable =yes
#chroot_list_file =/etc/vsftpd/chroot_list
Add the Chroot_list file under the/ETC/VSFTPD directory and add the restricted user name to the file
Restart the VSFTPD Services service vsftpd restart
This user right is restricted to access to their home directory only.
VSFTPD access Rights control