VSFTPD access Rights control

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.