Linux + vsftp configuration permission management-Linux Enterprise Application-Linux server application information, the following is a detailed description. [PURPOSE]
Control the Access Directory of ftp users.
[Configuration]
Open/etc/vsftpd. conf and configure the following content:
# Francis
Chroot_list_enable = YES
Chroot_local_user = NO
Chroot_list_file =/etc/vsftpd/chroot_list
Userlist_enable = YES
Userlist_deny = YES
Userlist_file =/etc/vsftpd. denyuser
Listen_port= 2134
Anonymous_enable = NO
Idle_session_timeout = 600
Ftpd_banner = Welcome to blah FTP service this is Francis.
#/Francis
[Configure users]
1. Use useradd and passwd to add ftp users to the system. For example, useradd ellis.
2. Create the file/etc/vsftpd/chroot_list.
Add users in the file that you want to control and cannot change the directory. Each row contains one user.
Such as ellis.
3. Create the file/etc/vsftpd. denyuser,
And cannot use fltp system users in file management. For example, root. One user per row.
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