Linux FTP Virtual User creation

Source: Internet
Author: User
(1) cd/etc/vsftpd/

(2) Vim vuser.list Create user Zhaosi and Liwu password are redhat (odd behavior account name, even behavior password)

(3) db_load-t-T hash-f vuser.list vuser.db

(4) File vuser.db

(5) chmod vuser.db

(6) Rm-f vuser.list

(7) Set/var/ftproot/to local user home directory

(8) Chmod-rf 755/var/ftproot/give home directory permissions

(9) vim/etc/pad.m/vsftpd.vu change PAM.D file
auth?required?/lib64/security/pam_userdb.so?db=/etc/vsftpd/passwd
account?required?/lib64/security/pam_userdb.so?db=/etc/vsftpd/passwd

(10) Configuring the Vsftpd.conf file

(11) Create files Vuser_dir to/ETC/VSFTPD
Create files Zhaosi and Liwu and give Liwu permissions



(12) Configure the vsftpd.conf file again

(13) Restart the VSFTPD service and set the boot start

(14) Login FTP virtual user


(15) Create and delete files in the FTP Liwu user

Linux FTP Virtual User creation

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.