How To Make Sure Tmp Folder On cPanel Is Secure?

cPanel restore multiple backups from ssh

Securing the /tmp folder on cPanel is easy.

cPanel has a script that will do this for you. With root access, using an SSH seesion, run the following command:


Once complete, you will need to reboot, so run: