VSFTPD Service Installation/Startup/connection/exit

Source: Internet
Author: User
Tags file transfer protocol ftp access
FTP is a very old file transfer protocol. With the advent of the Internet almost appeared. My study of VSFTP can also be said to have experienced a very long process. But there has been no breakthrough progress, until now, looking at the book, against the online blog, also still a blank face. Write down this document, is to let oneself have a plan, as soon as possible to build up the FTP server.
By reading or blogging, I learned that the first is installation, which can be installed directly through Yum. I've done that.                                                       Then modify its configuration file, need vim basic knowledge.             This I also do FTP first need authentication, authentication will have users, then the user management under Linux first to understand. I've learned that in the authentication process, it seems that the PAM module is used.                         So Pam also seems to need to know.                                                            In the process of processing, SELinux seems to have some trouble. Already understood, and can close SELinux
The last time is very close to success, from the success of the login is one step, is the problem of configuration files. Let's sort out the specifics.
The installation is very simple and can be installed via RPM or yum. RPM is also possible, because there is only one package, no dependencies.
Rpm-q vsftpd


Check out the RPM package first. After we find it, we install it directly via RPM.
rpm-ivh/media/centos/packages/vsftpd-2.2.2-24.el6.i686.rpm


I have already installed it, so the prompt is already installed. Note that the previous path is the mount path for my disc.
Installation is very simple, the following to start
Service VSFTPD Start
It is ready to be accessed after startup. Note that FTP access is the use of plaintext authentication, that is, the user name and password you entered is transmitted in clear text on the network, so it is not recommended to use root user access. We can start by creating users and then accessing them through the created user. Start up we want to access through the root, this time is not accessible, because FTP restrictions, where the restrictions, through two profiles (/etc/vsftpd/conf)
Ftpusers user_list
These two files are blacklisted, the user specified in the blacklist can not login FTP, the default blacklist is:


We can see that the root user is the first limit. If you want the root user to log in, we need to remove the root user from this file and then delete root in the User_list file. This will allow access to the root user.


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.