Solved

how to configure pure-ftp in linux for logs

Posted on 2011-02-16
3
1,781 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
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
_-MYFOX-_ earned 500 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

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 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