Article Title: VSFTPD server in linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Ftp-related commands
Ftp ip Address
Help Command
Binary sets the current file transmission mode to binary for easy transmission and can be used for all file types.
Ascli sets the current file to text mode and can only be used to transmit text documents
M-get/put: Batch upload or download
Ls is the same as terminal.
Cd...
Mkdir...
Rmdir...
Pwd ....
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ii. Installation of vsftpd
Rpm-q vsftpd
Rpm-ivh vsftpd-2.0.1-5.i386 mounting iso is in the first disc
Rpm-ql vsftpd | grep etc view vsftpd files in etc
Vsftpd Configuration
1. Edit the master configuration file of vsftpd in vi/etc/vsftpd. conf.
Anonymous_enable = y supports anonymous login
Local_en = y supports local Login
Write_enable = y write permission of the local user
Local_umask = 022 the user's permission to create a file/folder should be-go
Dirmessage_en = y: hidden files with. message are displayed when the directory is switched.
Xferlog_en = y enable upload/download logs
Xferlog_std_format = y log uses the standard format
Connect_from_port_20 = y Connection Request for enabling ftp data port
Psm_service_name = vsftpd: Set the name of the pam Authentication configuration file
Userlist_en = y enable userlist
Userlist_deny = y/n reject or just
Listen = y ftpserver in standalone Startup Mode
Tcp-warppers = y ftpserv uses tcp-warppers as the Access Control Method
The above is a classic Configuration
^
2. Tips
When you want to disable some support for login
Userlist_en = y
Userlist_deny = y
When you want to allow only some users to log on
Userlist_en = y
Userlist_deny = n
3. Tips
The logon directory for anonymous users is
/Var/ftp
There is also a default subdirectory pub below
4. Tips
The vsftpd STARTUP script is located at/etc/init. d/vsftpd by default.
The startup level can be set to 35.
Chkconfig -- level 35 vsftpd on
Service vsftpd start/stop/restart/status of vsftpd
[1] [2] Next page