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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content