?
Solved

how to configure pure-ftp in linux for logs

Posted on 2011-02-16
3
Medium Priority
?
1,993 Views
Last Modified: 2012-05-11
Dear Experts:

Please tell me how to configure pure-ftp in linux and very much important is
1. it should generate a log , the log information should contain who has logged .
2. ftp users create and delete logs

Actually iam looking for similar log like vsftpd service which generates in /var/log/vsftpd.log and if syslog_enable=YES then the detailed log is sent to /var/log/messages , i am looking forward how to do this for pure-ftpd , please help, thanks in advance.

Please help
0
Comment
Question by:D_wathi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
_-MYFOX-_ earned 2000 total points
ID: 34906444
Enable verbose log in pure-ftpd

echo 'yes' > /etc/pure-ftpd/conf/VerboseLog

Open /etc/rsyslog.conf and set correct values:

ftp.*                       -/var/log/pure-ftpd/pureftpd.log # <-- Add entry

Create the file of pureftpd.log

touch /var/log/pure-ftpd/pureftpd.log

0
 

Author Comment

by:D_wathi
ID: 34906954
Sir, thanks for the reply, by doing so will it generate the logs of who logins, what the action performed like creation of file/directory and deletion, please suggest i need to obtain this please help. thanks in advance.
0
 

Author Comment

by:D_wathi
ID: 34913374
Sir, i have done as per your instructions, when checked the /etc/pure-ftpd/pure-ftpd.conf i found the following is enabled.

 MySQLConfigFile               /etc/pure-ftpd/pureftpd-mysql.conf

Please let me know should i do anything else for the log. Thanks in advance.
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question