First we assume that you have installed the VSFTPD and have created the following 3 subdirectories under the/HOME/VSFTPD directory
Dbzh1 Dbzh2 Dbzh3
Below, we are going to build 3 virtual users, password is the username and then add "00"
Db1 Db2 Db3
Makes
User DB1 's home directory is DBZH1, and only read-only permissions are available under this directory User DB2 's home directory is DBZH2, and only read-only permissions are available under this directory User Db3 's home directory is DBZH3 and has all permissions under that directory
The database Vsftpd_login we established in the previous step is used here
The virtual user we created will be validated using Pam, which is enabled by the statement pam_service_name=vsftpd.vu in the/etc/vsftpd.conf file, which you will discover later.
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.