How securely delete files from FTP in RHEL?

Solution Verified - Updated -

Issue

  • I need files to be securely removed when either vsftp or sftp servers remove them.

  • How do I have these applications call srm, shred or similar application for secure deletion?

  • What we need is to only destroy files when they are deleted from FTP.
    For example: A user connects via ftp and issues the command "del test.txt" we need the FTP server to not just unlink that file but instead run "shred test.txt." It needs to immediately destroy any file that is deleted while the server is still running.

  • This is exactly what we are currently doing with ProFTPd on our other platform. Does Red Hat support the ProFTPd software package?

Environment

  • Red Hat Enterprise Linux (RHEL) 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.