22.vsftp basic usage

 	注释:block类型是可以直接分区格式化的存储
 				file类型是可以直接mount的
 				SAN:是通过附加各种层级协议形成一个隧道,附加各种报文头部,接受数据时需再要一个**系统**把这些信息拆分输入到自己的存储设备中(可以是多种存储设备)
Insert picture description here


2. ftp access process

Insert picture description here


Insert picture description here


3. PAM: a highly modular authentication module, which can provide authentication services for most services, vsftpd is

Insert picture description here


an implementation tool of the ftp protocol based on PAM authentication :

Insert picture description here


anonymous login test:

Insert picture description here


6. Supplementary explanation:

Insert picture description here


7 .

Insert picture description here


8.

Insert picture description here


9. anonymous user:
NOTE: to a default rule ftp ftp normal use, the system directory is a group owner user must log used by ftp
profile:

Insert picture description here


10. a local user:

Insert picture description here


white list

Insert picture description here


11. supplementary

Insert picture description here


Insert picture description here


12. virtual user
( Supplement: ldd can list the dynamic link libraries required by a program)

Insert picture description here


(1) Centos7 stores account passwords based on mysql: ①Install
MySQL and development modules, and database authorized users create related database tables, accounts and passwords
yum install mariadb mariadb-devel pam-devel ②Download ,
compile and install pam_mysql ③Configure

Insert picture description here


vsftpd, add or modify the following options
pam_service_name=vsftpd.vusers, modify to another pam file to complete the authentication
guest_enable=YES start virtual user
guest_username=vuser configure the system user to be mapped, and create it in advance This system user
④ add configuration pam authentication file

Insert picture description here



Insert picture description here