Solved

how to configure pure-ftp in linux for logs

Posted on 2011-02-16
3
1,574 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now