How to customize Welcome message by vsFTPd
This article mainly introduces vsFTPd how to customize welcome information, the article is very detailed, has a certain reference value, interested friends must read it!
This is not difficult to implement, we can check the vsftpd.conf file to see if there is this line.
Dirmessage_enable=YES
Message_file=.message
If not, add. If there is a # in front of the dirmessage_enable=YES, remove the #. In fact, the default FTP message is .message, so you can specify it without adding message_file=. You can make your own appointment. It doesn't matter.
Then we make a .message file and write down 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 write to us. Thank you.
We can use the editor to write this .message, I think this process is needless to say.
Then we copy the .message file to each user's home directory. For example, a user of my FTP is beinan, and the home directory of this user is / opt/beinan
We're going to put .message in the / opt/beinan directory. If the system user ftp, his directory is / var/ftp this directory, this is the default, when anonymous users log in to access the / var/ftp this directory. We want anonymous users to see the welcome message. Put .message in the / var/ftp directory. Other users are nothing more than similar operations.
The above is all the contents of the article "how to customize the Welcome message by vsFTPd". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!