Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a VPS with Apache and Pure-FTPD and I'm wondering if it's possible to log every action that an FTP user does (such as viewing files and editing them)? If this is possible, please let me know how I can do this. Thanks!

share|improve this question

1 Answer 1

up vote 5 down vote accepted
+50

Enable

VerboseLog yes

in your pureftpd.conf. This logs all actions.

Alternatively you can use the -d or --verboselog commandline options at the startup of pureftpd.

Where these logs go depends on your distribution. This is often /var/log/messages or a separate pureftpd.log.

share|improve this answer
    
Thank you very much. I tried what you said and it seems to work. Would you happen to know if enabling the VerboseLog takes a performance hit on the server, or if it creates any other problems? Thanks. –  Nate Dec 9 '12 at 19:34
    
Besides the amount of writes because of the logs, I would not expect to see any side effects. Because logs are usually buffered writes, I wouldn't expect an impact on performance as well. But it depends on the amount of FTP load you already have. –  mgabriel Dec 9 '12 at 19:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.