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

Process Analysis of logging setting in Pure-ftpd

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly introduces the process analysis of logging settings in Pure-ftpd, which is very detailed and has certain reference value. Friends who are interested must finish reading it!

Just help a user check the ftp operation log and find that there is no record, so set it for him. He uses pure-ftpd. Save the method:

1) create a file / var/log/pureftpd.log

2) modify / etc/syslog.conf

1 > add after the cron.none in this line; ftp.none makes the log information of ftp private

* .info;mail.none;authpriv.none;cron.none / var/log/messages

For

* .info;mail.none;authpriv.none;cron.none;ftp.none / var/log/messages

2 > add in / etc/syslog.conf file * *

# pureftp Log

Ftp.*-/ var/log/pureftpd.log

Note: do not remove the-sign before / var, or the log will be recorded in / var/log/messages and / var/log/purefpd.log. If you add a-sign, it will only be recorded in / var/log/purefptd.log

3) make / etc/syslog.conf effective

[root@www log] # killall-HUP syslogd

After setting up now, restart pure-ftpd, and now log in to ftp on the client side to try

The above is all the contents of the article "process Analysis of logging Settings in Pure-ftpd". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

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