You can use the cpanel script /scripts/securetmp to secure tmp partition.
Otherwise follow the steps below. First take a backup of the fstab file, just so that you would be able to revert it to a working copy in case of any issues.
Make a 3G file for /tmp and check the current filesystem type of /tmp
Now, create a backup of current /tmp
Mount the new /tmp and set required permissions
Copy the old /tmp data and edit fstab Read More