How to Secure your /tmp directory
From ReduxWiki
Exploiting the /tmp directory and using it to execute files is a very popular method hackers and those with malicious intent use nowadays.
It's also pretty simple to prevent this, or at least put a roadblock up!
First, let me say, I highly recommend taking the easy way out on this one, because the easy way in my opinion in this case is also the best way, to do this simply run the following command as root:
/scripts/securetmp


