How to secure an OpenVZ cPanel /tmp directory
Recently on an OpenVZ VPS we kept getting messages from ConfigServer Security and Firewall stating “lfd on server.host.com: Suspicious File Alert”, with the message pointing specifically to a file in the /tmp directory. After going through the files I didn’t find anything that looked suspicious in nature (exploit, malware, etc), but I did notice that this older VPS did not have the /tmp directory mounted correctly to secure it. When I attempted to use cPanel’s built in /scripts/securetmp I got an error saying the loop module wasn’t detected/installed “*** Notice *** No loop module detected” (more…)