VSFTPD server in linux

Source: Internet
Author: User
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

Related Article

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.