Solved

how to configure pure-ftp in linux for logs

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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 …
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

809 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