Custom welcome information for common vsFTPd Functions

Source: Internet
Author: User

VsftpdIt is a small and practical FTP server program. We often see welcome words when logging on to the server. This article will teach you how to set welcome information on vsftpd.

How to customize the welcome information, that is, after we log on to some FTP, there will be a similar: Welcome to LinuxSir FTP, here, you will get the most sincere help, if you have any questions or suggestions, please send me a letter. Thank you.

It is not difficult to implement this. We can check whether this line exists in the vsftpd. conf file.

Dirmessage_enable = YES

Message_file =. message

If no, add it. If there is a # sign before dirmessage_enable = YES, remove the # sign. In fact, the default FTP information is. message, so it can be specified without message_file =. It doesn't matter if you specify it yourself;

Then, we create a. message file and write what you want to write. For example, the content of. message is as follows:

-- Welcome to LinuxSir FTP!

-- Here, you will get the most sincere help;

-- If you have any questions or suggestions, please send me a letter. Thank you.

We can use the editor to write this. message. I don't need to talk about this process.

Then we copy the. message file to the Home Directory of each user. For example, if one of my FTP users is beinan and the Home Directory of this user is/opt/beinan

We need to put. message in the/opt/beinan directory. If the system user ftp, his directory is the/var/ftp directory, which is the default. When anonymous users log on, they will access the/var/ftp directory. We want anonymous users to see the welcome information. Put. message in the/var/ftp directory. Other users are nothing more than similar operations.

After reading this article, I wonder if you have learned how to set the welcome information on vsftpd. Please show it to your friends!

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.