Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to set log in VSFTPD

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces you how to set up the log in VSFTPD, the content is very detailed, interested friends can refer to, I hope it can be helpful to you.

Vsftpd is the most popular FTP server program in the Linux distribution. It is characterized by small and light, safe and easy to use. It is a bit troublesome to configure. The configuration of vsftpd.conf file is relatively simple, so we can set it as follows:

Setting options for VSFTPD

The configuration file / etc/vsftpd/vsftpd.conf for VSFTPD is a text file. The line that begins with the "#" character is the comment line. Each option is set to one line and formatted as "option=value". Note that there is no space on both sides of the "=" sign. In addition to this main profile, you can also set personal profiles for specific users, as described later.

The vsftpd.conf file that comes with the VSFTPD package is relatively simple to configure and very paranoid (the document calls itself). We can set it up according to the actual situation to make VSFTPD more available.

1. Log settings

Xferlog_enable=YES | NO

Controls whether a log file is enabled for detailed uploads and downloads. The log file is specified by the xferlog_file option. The default value is NO, but this option is activated in the simple configuration file.

Xferlog_file=

This option sets the file name to record the transfer log. The default is / var/log/vsftpd.log.

Xferlog_std_format=YES | NO

Controls whether the log file uses the standard format of xferlog, just like wu-ftpd. Using the xferlog format, you can reuse an existing transport statistics generator. However, the default log format is more readable. The default is NO, but this option is activated in the configuration file that comes with it.

Log_ftp_protocol=YES | NO

When this option is activated, all FTP requests and responses are logged. Xferlog_std_format cannot be activated when this option is provided. This option is useful for debugging. The default is NO.

On how to set up the log in VSFTPD to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report