• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Monitoring tmp directory question.

C

carliebentley

Guest
I was just curious if anyone here has found an effective way to monitor the /tmp directory on a RHEL3 server.

Basically I'm looking for something that will watch the tmp directory and drop an e-mail if a file is placed there with the .pl extension.

It would be very nice if this could also log the activity in the tmp directory, to the extent of figuring out the domain responsible for calling the .pl file so that it could be easily traced.

I've done a little digging and haven't found a simple script, etc. that will do this.

It's not enough to change the tmp directory to a noexec situation. I have applications that may need to execue something from the tmp directory, just not perl.

Any pointers in the right direction would be helpful.

Thanks.
 
Back
Top